CVE-2026-41949
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| dify | dify | {"endIncluding":"1.14.1"} | |
References
- https://github.com/langgenius/dify/commit/432a6412a3fdb30ce48003d699b90cc7d890df20
- https://github.com/langgenius/dify/pull/35797
- https://github.com/langgenius/dify/releases/tag/1.14.2
- https://huntr.com/bounties/d50a0240-7951-4939-b989-9bded66c7682
- https://www.vulncheck.com/advisories/dify-authorization-bypass-via-file-preview-endpoint
CWEs
CWE-639
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.