CVE-2026-41950: Authorization bypass in Dify chat-messages file attachment handling
- Vendor
- Langgenius
Dify before version 1.14.0 contains an authorization bypass in the chat-messages workflow that allows an authenticated user to read the full contents of files uploaded by other users within the same tenant. The flaw is triggered by supplying an arbitrary file UUID in the files array of a chat-messages request. The affected endpoint fails to properly verify that the referenced file is owned by, or authorized for, the requesting user before making it available to downstream workflow or chatbot processing. As a result, an attacker can attach another user’s file identifier to their own message and induce a file-capable chatbot or workflow to process and disclose the file contents, bypassing intended workspace separation and signed-URL based access protections.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation results in unauthorized disclosure of the full contents of files uploaded by other users in the same tenant. Sensitive documents, PDFs, images, or other uploaded content that should be restricted by ownership checks can be exposed through chatbot or workflow output. The issue is an intra-tenant access control failure that undermines file-level authorization and can lead to leakage of confidential business data, user-submitted content, and information embedded in AI workflows.
Mitigation
If you can’t patch tonight, do this now.
If immediate patching is not possible, restrict access to chat-messages functionality to trusted users, minimize multi-user sharing within the same tenant, and closely monitor for anomalous use of file UUIDs in chat-messages requests. Review and reduce exposure of sensitive uploaded files, and audit chatbot/workflow configurations that can read attached files or echo file contents back to users.
Remediation
Patch, then assume compromise.
Upgrade Dify to version 1.14.0 or later. Multiple sources also state that Dify version 1.14.2 includes fixes for CVE-2026-41950 as part of the broader DifyTap remediation set. After upgrading, verify that chat-messages endpoints enforce ownership and authorization checks on file UUIDs before files are passed into workflow or model processing.
Exploits
No public exploits tracked yet. Mallory keeps watching.
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.
References
Frequently asked questions
- Is CVE-2026-41950 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2026-41950 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-41950?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2026-41950.
- Is there a patch for CVE-2026-41950?
- Upgrade Dify to version 1.14.0 or later. Multiple sources also state that Dify version 1.14.2 includes fixes for CVE-2026-41950 as part of the broader DifyTap remediation set.
- What products are affected by CVE-2026-41950?
- Langgenius Dify.
- How severe is CVE-2026-41950?
- CVE-2026-41950 has a CVSS v4 score of 6.0 (Medium) and an EPSS score of 0.35% (29th percentile) as of Oct 16, 2026.
Recent activity
10 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.