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.
References
| Link | Resource |
|---|---|
| https://github.com/langgenius/dify/commit/432a6412a3fdb30ce48003d699b90cc7d890df20 | |
| https://github.com/langgenius/dify/pull/35797 | Issue Tracking Mitigation Patch |
| https://github.com/langgenius/dify/releases/tag/1.14.2 | |
| https://huntr.com/bounties/d50a0240-7951-4939-b989-9bded66c7682 | Exploit Third Party Advisory |
| https://www.vulncheck.com/advisories/dify-authorization-bypass-via-file-preview-endpoint | Third Party Advisory |
Configurations
History
26 May 2026, 17:16
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
|
| References | () https://github.com/langgenius/dify/pull/35797 - Issue Tracking, Mitigation, Patch | |
| Summary | (en) 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. |
19 May 2026, 19:24
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/langgenius/dify/pull/35797 - Issue Tracking, Patch, Mitigation | |
| First Time |
Dify dify
Dify |
|
| CPE | cpe:2.3:a:dify:dify:*:*:*:*:*:*:*:* |
19 May 2026, 18:50
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/langgenius/dify/pull/35797 - Issue Tracking, Patch | |
| References | () https://huntr.com/bounties/d50a0240-7951-4939-b989-9bded66c7682 - Exploit, Third Party Advisory | |
| References | () https://www.vulncheck.com/advisories/dify-authorization-bypass-via-file-preview-endpoint - Third Party Advisory | |
| First Time |
Langgenius
Langgenius dify |
|
| CPE | cpe:2.3:a:langgenius:dify:*:*:*:*:*:node.js:*:* |
18 May 2026, 15:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-05-18 15:16
Updated : 2026-05-26 17:16
NVD link : CVE-2026-41949
Mitre link : CVE-2026-41949
CVE.ORG link : CVE-2026-41949
JSON object : View
Products Affected
dify
- dify
CWE
CWE-639
Authorization Bypass Through User-Controlled Key
