CVE-2026-41949: Authorization Bypass Through User-Controlled Key in langgenius dify
Dify before version 1.14.2 contains an authorization bypass vulnerability in the file preview endpoint that allows any authenticated user to read up to 3,000 characters of any uploaded document across all tenants and workspaces using only the file's UUID. Attackers can access the /console/api/files/{file_id}/preview endpoint with an intercepted file UUID to extract sensitive content from documents without ownership or workspace permission verification. NOTE: Dify Cloud allows unauthenticated free self-registration, making account creation trivially accessible to any attacker.
AI Analysis
Technical Summary
CVE-2026-41949 is an authorization bypass vulnerability in langgenius's Dify product affecting versions before 1.14.2. The vulnerability exists in the /console/api/files/{file_id}/preview endpoint, where an authenticated user can supply a file UUID to retrieve a preview of up to 3,000 characters of any uploaded document, regardless of tenant or workspace permissions. This allows unauthorized access to sensitive document content. The vulnerability is exacerbated by Dify Cloud's policy of allowing unauthenticated free self-registration, facilitating attacker account creation. No official remediation level or patch information is provided in the available data.
Potential Impact
An attacker with any authenticated account can bypass authorization controls to read partial contents of any uploaded document across all tenants and workspaces. This leads to unauthorized disclosure of potentially sensitive information. The ability to create accounts freely on Dify Cloud lowers the barrier for exploitation. There is no indication of privilege escalation or data modification, but confidentiality is compromised.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the file preview endpoint to trusted users only and monitor for suspicious use of file UUIDs. Consider disabling or limiting the preview functionality if feasible. Review account creation policies to reduce ease of attacker registration.
CVE-2026-41949: Authorization Bypass Through User-Controlled Key in langgenius dify
Description
Dify before version 1.14.2 contains an authorization bypass vulnerability in the file preview endpoint that allows any authenticated user to read up to 3,000 characters of any uploaded document across all tenants and workspaces using only the file's UUID. Attackers can access the /console/api/files/{file_id}/preview endpoint with an intercepted file UUID to extract sensitive content from documents without ownership or workspace permission verification. NOTE: Dify Cloud allows unauthenticated free self-registration, making account creation trivially accessible to any attacker.
CVSS v4.0
Score 8.2high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-41949 is an authorization bypass vulnerability in langgenius's Dify product affecting versions before 1.14.2. The vulnerability exists in the /console/api/files/{file_id}/preview endpoint, where an authenticated user can supply a file UUID to retrieve a preview of up to 3,000 characters of any uploaded document, regardless of tenant or workspace permissions. This allows unauthorized access to sensitive document content. The vulnerability is exacerbated by Dify Cloud's policy of allowing unauthenticated free self-registration, facilitating attacker account creation. No official remediation level or patch information is provided in the available data.
Potential Impact
An attacker with any authenticated account can bypass authorization controls to read partial contents of any uploaded document across all tenants and workspaces. This leads to unauthorized disclosure of potentially sensitive information. The ability to create accounts freely on Dify Cloud lowers the barrier for exploitation. There is no indication of privilege escalation or data modification, but confidentiality is compromised.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the file preview endpoint to trusted users only and monitor for suspicious use of file UUIDs. Consider disabling or limiting the preview functionality if feasible. Review account creation policies to reduce ease of attacker registration.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-04-22T18:50:43.622Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a0b2098ec166c07b0c69452
Added to database: 05/18/2026, 14:22:16 UTC
Last enriched: 07/15/2026, 10:31:56 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 205
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.