CVE-2026-41949
Dify < 1.14.2 Authorization Bypass via File Preview Endpoint
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.
INFO
Published Date :
May 18, 2026, 3:16 p.m.
Last Modified :
May 26, 2026, 5:16 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | 83251b91-4cc7-4094-a5c7-464a1b83ea10 | ||||
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | HIGH | [email protected] | ||||
| CVSS 4.0 | HIGH | 83251b91-4cc7-4094-a5c7-464a1b83ea10 | ||||
| CVSS 4.0 | HIGH | [email protected] |
Solution
- Update Dify to version 1.14.2.
- Verify file access controls are enforced.
- Review access logs for suspicious activity.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-41949.
| URL | 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 |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-41949 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-41949
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-41949 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-41949 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 26, 2026
Action Type Old Value New Value Changed Description Dify version 1.14.1 and prior contain 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. 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. Added Reference https://github.com/langgenius/dify/commit/432a6412a3fdb30ce48003d699b90cc7d890df20 Added Reference https://github.com/langgenius/dify/releases/tag/1.14.2 -
Reanalysis by [email protected]
May. 19, 2026
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:langgenius:dify:*:*:*:*:*:node.js:*:* versions up to (including) 1.14.1 OR *cpe:2.3:a:dify:dify:*:*:*:*:*:*:*:* versions up to (including) 1.14.1 Changed Reference Type VulnCheck: https://github.com/langgenius/dify/pull/35797 Types: Issue Tracking, Patch VulnCheck: https://github.com/langgenius/dify/pull/35797 Types: Issue Tracking, Mitigation, Patch -
Initial Analysis by [email protected]
May. 19, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Added CPE Configuration OR *cpe:2.3:a:langgenius:dify:*:*:*:*:*:node.js:*:* versions up to (including) 1.14.1 Added Reference Type VulnCheck: https://github.com/langgenius/dify/pull/35797 Types: Issue Tracking, Patch Added Reference Type VulnCheck: https://huntr.com/bounties/d50a0240-7951-4939-b989-9bded66c7682 Types: Exploit, Third Party Advisory Added Reference Type VulnCheck: https://www.vulncheck.com/advisories/dify-authorization-bypass-via-file-preview-endpoint Types: Third Party Advisory -
New CVE Received by [email protected]
May. 18, 2026
Action Type Old Value New Value Added Description Dify version 1.14.1 and prior contain 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. Added CVSS V4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CVSS V3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N Added CWE CWE-639 Added Reference https://github.com/langgenius/dify/pull/35797 Added Reference https://huntr.com/bounties/d50a0240-7951-4939-b989-9bded66c7682 Added Reference https://www.vulncheck.com/advisories/dify-authorization-bypass-via-file-preview-endpoint