Skip to main content
Mallory
MediumPublic exploitVulnerability

CVE-2026-41950: Authorization bypass in Dify chat-messages file attachment handling

Published May 5, 2026 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS6.0Medium · v4
EPSS0.35%29th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendor
Langgenius
IdentifiersCVE-2026-41950CWE-639 · Authorization Bypass Through…

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.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

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.

VendorProductType
LanggeniusDifyapplication
FAQ

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.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity4Community discussion across Reddit, Mastodon, and other social sources.