- Home
- Vulnerabilities
- CVE-2026-41949
CVE-2026-41949
Dify < 1.14.2 Authorization Bypass via File Preview Endpoint
Summary
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.
Affected products and versions
Langgenius (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| Dify | before 1.14.2 (excluded) |
— | CNA (vendor or assigner) |
Dify (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| Dify | up to 1.14.1 (included) |
— | NVD |
Fix
Not provided by the vendor.
Workaround
No workaround provided.
Check whether you are affected
Exploit reported by sources
These links are tagged “exploit” by the NVD or CVE.org. We have neither verified nor copied them; open with care.
Timeline
- — CVE published (cve)
References
- https://github.com/langgenius/dify/commit/432a6412a3fdb30ce48003d699b90cc7d890df20patch
- https://github.com/langgenius/dify/pull/35797issue-tracking, patch
- https://github.com/langgenius/dify/releases/tag/1.14.2release-notes
- https://huntr.com/bounties/d50a0240-7951-4939-b989-9bded66c7682technical-description, exploit
- https://www.vulncheck.com/advisories/dify-authorization-bypass-via-file-preview-endpointthird-party-advisory
- https://www.zafran.io/resources/difytap-zafran-discovers-how-attackers-can-silently-wiretap-ai-data-across-tenants-on-a-platform-powering-1m-appstechnical-description, exploit
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- NVD
- Weakness (CWE)
- CNA (vendor or assigner)
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N(CVSS 3.1, NVD)- Weakness
- CWE-639 · Autre (CWE-639)