CVE-2026-41949
Dify version 1.14.1 and prior contain an authorization bypass …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/langgenius/dify/pull/35797
- huntr.com/bounties/d50a0240-7951-4939-b989-9bded66c7682
- www.vulncheck.com/advisories/dify-authorization-bypass-via-file-preview-endpoint
- github.com/langgenius/dify/commit/432a6412a3fdb30ce48003d699b90cc7d890df20
- github.com/langgenius/dify/releases/tag/1.14.2
- www.zafran.io/resources/difytap-zafran-discovers-how-attackers-can-silently-wiretap-ai-dat
- nvd.nist.gov/vuln/detail/CVE-2026-41949
- cve.org/CVERecord?id=CVE-2026-41949
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.