PatchSiren cyber security CVE debrief
CVE-2026-41949 langgenius CVE debrief
Dify versions 1.14.1 and prior contain an authorization bypass vulnerability in the file preview endpoint (`/console/api/files/{file_id}/preview`). An authenticated attacker can read up to 3,000 characters of any uploaded document across all tenants and workspaces by supplying only the file's UUID, without ownership or workspace permission verification. The vulnerability is rated HIGH severity (CVSS 4.0 score 8.2). Notably, Dify Cloud permits unauthenticated free self-registration, enabling trivial account creation for attackers. The issue was disclosed on 2026-05-18 and modified on 2026-05-19. A patch is available via GitHub pull request.
- Vendor
- langgenius
- Product
- dify
- CVSS
- HIGH 8.2
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-05-18
- Original CVE updated
- 2026-05-26
- Advisory published
- 2026-05-18
- Advisory updated
- 2026-05-26
Who should care
Organizations running self-hosted Dify instances or using Dify Cloud; security teams responsible for multi-tenant application security; developers building file handling APIs requiring tenant isolation.
Technical summary
The `/console/api/files/{file_id}/preview` endpoint in Dify 1.14.1 and prior fails to validate that the requesting authenticated user has ownership or workspace permissions for the target file. By obtaining or guessing a file UUID, any authenticated user can retrieve up to 3,000 characters of document content regardless of tenant or workspace boundaries. The vulnerability is classified as CWE-639 (Authorization Bypass Through User-Controlled Key).
Defensive priority
HIGH
Recommended defensive actions
- Upgrade to Dify version later than 1.14.1 or apply the patch from the vendor pull request
- Review access logs for unauthorized access to `/console/api/files/{file_id}/preview` with file UUIDs outside expected tenant/workspace scope
- Implement additional authorization checks at the API gateway or WAF layer for file preview endpoints pending patch deployment
- Consider disabling or restricting self-registration on Dify Cloud deployments if not required for business operations
- Rotate any sensitive documents that may have been exposed via file UUID enumeration
- Monitor for anomalous authenticated user behavior following free account registration
Evidence notes
Authorization bypass confirmed in file preview endpoint; no ownership or workspace permission checks; 3,000 character content extraction limit; unauthenticated self-registration on Dify Cloud lowers barrier to exploitation.
Official resources
-
CVE-2026-41949 CVE record
CVE.org
-
CVE-2026-41949 NVD detail
NVD
-
Source item URL
nvd_modified
-
Mitigation or vendor reference
[email protected] - Issue Tracking, Patch, Mitigation
-
Mitigation or vendor reference
[email protected] - Exploit, Third Party Advisory
-
Mitigation or vendor reference
[email protected] - Third Party Advisory
2026-05-18T15:16:26.137Z