Authorization Bypass in Dify chat-messages File Attachment Handling
CVE-2026-41950 is an authorization bypass vulnerability in Dify affecting versions before 1.14.0. The flaw exists in the chat-messages request handling for file attachments: an authenticated user can supply an arbitrary file UUID in the files array of a chat-messages request, and Dify fails to properly verify that the referenced file belongs to the requesting user before making it available to workflow or chatbot processing. As described in the provided content, the issue stems from insufficient permission verification and missing ownership validation on file identifiers, allowing a user to attach another user’s uploaded file within the same tenant and induce a file-capable chatbot or workflow to read back the file contents. This bypasses intended workspace separation and signed-URL style protections, resulting in unauthorized disclosure of the full contents of uploaded files.
Are you exposed to this one?
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
Impact, mitigation & remediation
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Mitigation
If you can’t patch tonight, do this now.
Remediation
Patch, then assume compromise.
Exploits
No public exploits tracked yet. Mallory keeps watching.
No public exploit code observed for this vulnerability.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
Recent activity
9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A Dify vulnerability that enables chatbots to read attached user files, contributing to cross-tenant data exposure risk.
A Dify file access vulnerability that allows a client to reference another user’s file UUID in chat interactions and have a file-capable chatbot disclose the file contents.
A high-severity Dify file access control vulnerability related to file identification and permissions that allows retrieval of files uploaded by other users within the same tenant.
A Dify vulnerability fixed in version 1.14.2; specific technical details are not provided in the content.
The version that knows your environment.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.