CVE-2026-41949
Dify < 1.14.2 Authorization Bypass via File Preview Endpoint
- State
- Published
- Severity
- 8.2 High
- Published
- May 18, 2026
- Updated
- Jul 14, 2026
- Reserved
- Apr 22, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.2 High | CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 5.9 Medium | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N | VulnCheck |
Weaknesses
- CWE-639 Authorization Bypass Through User-Controlled Key
Affected Products
| Product | Versions |
|---|---|
difylanggenius |
|
References
- https://www.zafran.io/resources/difytap-zafran-discovers-how-attackers-can-silently-wiretap-ai-data-across-tenants-on-a-platform-powering-1m-appstechnical-descriptionexploit
- https://huntr.com/bounties/d50a0240-7951-4939-b989-9bded66c7682technical-descriptionexploit
- https://github.com/langgenius/dify/releases/tag/1.14.2release-notes
- https://github.com/langgenius/dify/pull/35797issue-tracking
- https://github.com/langgenius/dify/commit/432a6412a3fdb30ce48003d699b90cc7d890df20patch
- https://www.vulncheck.com/advisories/dify-authorization-bypass-via-file-preview-endpointthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.