CVE-2026-41949Dify < 1.14.2 Authorization Bypass via File Preview Endpoint
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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- langgenius dify: affected: before 1.14.2; fixed in
1.14.2
Vendor advisories:
- https://github.com/langgenius/dify/releases/tag/1.14.2 (release-notes)
- https://github.com/langgenius/dify/pull/35797 (patch)
- https://github.com/langgenius/dify/commit/432a6412a3fdb30ce48003d699b90cc7d890df20 (patch)
References
- https://www.zafran.io/resources/difytap-zafran-discovers-how-attackers-can-silently-wiretap-ai-data-across-tenants-on-a-platform-powering-1m-apps
- https://huntr.com/bounties/d50a0240-7951-4939-b989-9bded66c7682
- https://github.com/langgenius/dify/releases/tag/1.14.2
- https://github.com/langgenius/dify/pull/35797
- https://github.com/langgenius/dify/commit/432a6412a3fdb30ce48003d699b90cc7d890df20
- https://www.vulncheck.com/advisories/dify-authorization-bypass-via-file-preview-endpoint
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.