Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Dify workspace
-
DeliveryIdentify or enumerate target user's file UUID
-
ExploitCraft chat-messages API request with unauthorized UUID
-
ExecutionSubmit request to API endpoint
-
PersistApplication skips ownership validation
-
ImpactRetrieve and exfiltrate file contents
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
|
| Exploitation Conditions | Exploitation requires the attacker to (1) possess valid, authenticated credentials for at least one user account within the target Dify tenant workspace (authentication cannot be bypassed, only authorization can); (2) know or be able to enumerate file UUIDs belonging to other users within the same workspace; (3) the target files must be referenced in or compatible with chat-messages workflow processing (files not integrated into chat processing may not be accessible via this vector). The vulnerability does NOT require special configuration - it affects default Dify installations. Non-default mitigations include: (a) disabling file uploads or multi-user workflows (extreme, not practical); (b) enforcing single-user workspaces (negates product utility). The primary limiting factor is the PR:L (authenticated) requirement, meaning the attacker cannot exploit this remotely without first compromising or obtaining a valid user credential. File UUID enumeration may be blocked by an administrator via API rate-limiting or access controls, which could slow but not prevent exploitation if UUIDs are predictable or discoverable through other means. |
| Impact | This vulnerability presents moderate-to-high real-world risk despite the CVSS 6.0 base score. CVSS vector analysis: AV:N (network-exploitable), AC:L (low complexity), PR:L (requires authentication), VC:H (high confidentiality impact) - indicating that while an attacker must first gain or possess valid workspace credentials, the exploitation barrier is low and the data exposure is severe. EPSS and KEV status are not provided in the input data, preventing direct exploitation probability assessment; however, the presence of publicly available exploit code significantly lowers the practical barrier to exploitation. The PR:L requirement limits scope to insider threats (compromised/rogue users, shared accounts, or developers with workspace access) but does not eliminate risk in organizational environments with high user churn, shared accounts, or weak access revocation practices. The AT:P (Attacker Time) and SC:N (Scope unchanged) modifiers suggest this is a targeted information disclosure, not a denial-of-service or privilege escalation. Risk is elevated in deployments where sensitive documents (contracts, health records, financial data, AI training data) are stored and shared within multi-user workspaces. Organizations with strict data segmentation requirements or regulatory obligations (HIPAA, GDPR) should treat this as high priority. The absence of CVSS scope change (SC:N) and SSVC data means defenders must apply business context: in healthcare or financial services, this is critical; in public collaboration platforms, it remains moderate. No conflicting signals detected between vector and description. |
| Exploit ScenarioDerived | A rogue employee with valid workspace credentials authenticates to Dify and intercepts or infers file UUIDs belonging to colleagues through UI inspection or error messages. The attacker crafts a chat-messages API request with those UUIDs in the files array parameter, sending the request to the platform. The application processes the request without verifying ownership, allowing the attacker to read and exfiltrate sensitive files (contracts, customer data, model training datasets) uploaded by other users. Publicly available exploit code on Huntr demonstrates this attack path. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 05, 2026
Dify before version 1.14.0 allows authenticated users to bypass authorization controls and read arbitrary files uploaded by other users within the same tenant by supplying unauthorized file UUIDs in chat-messages API requests. The vulnerability exploits insufficient permission verification on file access endpoints, enabling attackers to circumvent workspace separation and signed URL protections to retrieve sensitive file contents processed through workflows. Publicly available exploit code exists, and a vendor-released patch (version 1.14.0) is available.
RemediationAI
Upgrade to Dify version 1.14.0 or later immediately. The vendor has released a patched version available at https://github.com/langgenius/dify/releases/tag/1.14.0. For deployments unable to upgrade immediately, apply compensating controls: (1) Restrict chat-messages API endpoint access to a firewall rule permitting only trusted application servers or VPNs, reducing exposure to random attackers (trade-off: limits external integrations); (2) Implement strict file UUID logging and audit alerts on the chat-messages endpoint to detect anomalous UUID references not matching the authenticated user's file inventory (trade-off: requires operational monitoring overhead); (3) Enforce workspace-level file access policies at the application level by disabling file sharing across users until patched (trade-off: reduces collaboration features). Do not rely on signed URLs or workspace separation alone, as those are bypassed by this vulnerability. Review audit logs for unauthorized file access patterns using the exploit reference at https://huntr.com/bounties/181136ec-d957-4b75-8ea7-6fa7b8abd01d to understand attack signatures.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Dify is an AI application development platform that manages file uploads and user collaboration within multi-tenant workspaces. The vulnerability resides in the chat-messages endpoints responsible for processing file references during workflow execution. The affected code fails to validate that the authenticated user owns or has explicit permission to access files identified by UUID before passing them to workflow processors. CWE-639 (Authorization Bypass Through User-Controlled Key) describes the root cause: the application accepts user-supplied file UUIDs as authorization credentials without verifying the requester's relationship to those resources. Attackers exploit this by crafting requests that reference file UUIDs belonging to other workspace members, leveraging the fact that Dify's internal processing mechanisms (workflow processors, file handlers) trust the UUID provided without re-validating ownership. The vulnerability affects the file access control layer across all tenant isolation boundaries within a single workspace.
Know when Dify gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Primary rating from Vendor (VulnCheck) · only source for this CVE.
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
Dify before version 1.14.0 contains an authorization bypass vulnerability that allows authenticated users to read the full contents of files uploaded by other users within the same tenant by supplying an arbitrary file UUID in the files array of a chat-messages request. Attackers can exploit insufficient permission verification in the chat-messages endpoints to access files without ownership validation, bypassing workspace separation and signed URL protections to retrieve sensitive file contents through workflow processing.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Dify 1.9.1 permits unauthenticated remote GET requests to the /console/api/system-features console endpoint, letting ano
Hard-coded default PostgreSQL credentials shipped in the docker-compose.yaml of langgenius Dify through version 1.5.1 al
Path traversal in Dify versions 0 through 1.14.1 allows authenticated tenants to escape their authorized tenant path and
Cross-tenant authorization bypass in LangGenius Dify versions through 1.14.1 lets any logged-in editor reroute another t
A vulnerability in langgenius/dify v0.10.1 allows an attacker to take over any account, including administrator accounts
SQL injection in Dify's MyScale vector store backend (versions before 1.16.0-rc1) lets authenticated attackers execute a
Plaintext exposure of third-party service API keys in Dify prior to version 1.11.0 allows any authenticated non-administ
Cross-tenant document disclosure in Dify 1.14.1 and prior allows any authenticated user to read up to 3,000 characters o
langgenius/dify version v0.10.1 contains a vulnerability where there are no limits applied to the number of code guess a
In langgenius/dify v0.10.1, the `/forgot-password/resets` endpoint does not verify the password reset code, allowing an
Dify is an open-source LLM app development platform. Rated high severity (CVSS 7.6), this vulnerability is remotely expl
A stored cross-site scripting (XSS) vulnerability exists in langgenius/dify version latest, specifically in the chat log
EUVD-2026-27504
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB