CVE-2026-41949
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.43%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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 4.0
- 8.2 HIGHCVSS:4.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/M
- EPSS
- 0.43% probability · 37th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-639
- Affected
- dify/dify
- Source
- disclosure@vulncheck.com
References
- https://github.com/langgenius/dify/commit/432a6412a3fdb30ce48003d699b90cc7d890df20
- https://github.com/langgenius/dify/pull/35797Issue Tracking, Mitigation, Patch
- https://github.com/langgenius/dify/releases/tag/1.14.2
- https://huntr.com/bounties/d50a0240-7951-4939-b989-9bded66c7682Exploit, Third Party Advisory
- 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-apps
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.