Original 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.
Affected software
- Dify.ai < 1.14.2 Fixed in: 1.14.2 repository or package match
Details
- Published
- 2026-05-18
- Last modified
- 2026-11-08
- CVSS vector
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- CWE
- CWE-639
- EPSS (30-day exploit probability)
- 0.43% (percentile 38)
References
- cve.org/CVE-2026-41949
- nvd.nist.gov/vuln/detail/CVE-2026-41949
- www.zafran.io/resources/difytap-zafran-discovers-how-attackers-can-silently-wiretap-ai-dat...
- huntr.com/bounties/d50a0240-7951-4939-b989-9bded66c7682
- github.com/langgenius/dify/releases/tag/1.14.2
- github.com/langgenius/dify/pull/35797
- github.com/langgenius/dify/commit/432a6412a3fdb30ce48003d699b90cc7d890df20
- www.vulncheck.com/advisories/dify-authorization-bypass-via-file-preview-endpoint
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.