CVE-2026-41949
CVE-2026-41949 is a medium-severity vulnerability in Dify with a CVSS 3.x base score of 5.9. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-639.
Key facts
- Severity: Medium (CVSS 3.x base score 5.9)
- CVSS v4: 8.2
- EPSS exploit prediction: 0% (35th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-30774
- Weakness: CWE-639
- Affected product: Dify
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2026-41949?
- 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.
- How severe is CVE-2026-41949?
- CVE-2026-41949 has a CVSS 3.x base score of 5.9, rated medium severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability none.
- Is CVE-2026-41949 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (35th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-41949?
- CVE-2026-41949 affects Dify. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-41949?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2026-41949 have an EU (EUVD) identifier?
- Yes. CVE-2026-41949 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-30774.
- When was CVE-2026-41949 published?
- CVE-2026-41949 was published on 2026-05-18 and last updated on 2026-06-22.
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
- https://www.zafran.io/resources/difytap-zafran-discovers-how-attackers-can-silently-wiretap-ai-data-across-tenants-on-a-platform-powering-1m-apps
Affected products (1)
- cpe:2.3:a:dify:dify:*:*:*:*:*:*:*:*
More vulnerabilities in Dify
- CVE-2026-41948 — Critical (CVSS 9.4): Dify version 1.14.1 and prior contain a path traversal vulnerability that allows authenticated users to manipulate…
- CVE-2026-41947 — Critical (CVSS 9.1): Dify before version 1.14.2 contains an authorization bypass vulnerability that allows authenticated editor users to set…
- CVE-2025-0185 — High (CVSS 8.8): A vulnerability in the Dify Tools' Vanna module of the langgenius/dify repository allows for a Pandas Query Injection…
- CVE-2024-11822 — High (CVSS 7.5): langgenius/dify version 0.9.1 contains a Server-Side Request Forgery (SSRF) vulnerability. The vulnerability exists due…
- CVE-2025-67732 — Medium (CVSS 6.5): Dify is an open-source LLM app development platform. Prior to version 1.11.0, the API key is exposed in plaintext to…
- CVE-2026-26023 — Medium (CVSS 6.1): Dify is an open-source LLM app development platform. Prior to 1.13.0, a cross site scripting vulnerability has been…
Other CWE-639 (Authorization Bypass Through User-Controlled Key (IDOR)) vulnerabilities
- CVE-2025-40805 — Critical (CVSS 10.0): Affected devices do not properly enforce user authentication on specific API endpoints. This could facilitate an…
- CVE-2024-45032 — Critical (CVSS 10.0): A vulnerability has been identified in Industrial Edge Management Pro (All versions < V1.9.5), Industrial Edge…
- CVE-2026-34037 — Critical (CVSS 9.9): Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to…
- CVE-2026-52782 — Critical (CVSS 9.9): OpenProject is open-source, web-based project management software. Prior to 17.3.3 and 17.4.1, there is an IDOR through…
- CVE-2026-45552 — Critical (CVSS 9.9): Roxy-WI is a web interface for managing Haproxy, Nginx, Apache and Keepalived servers. In versions 8.2.6.4 and prior,…
- CVE-2026-29200 — Critical (CVSS 9.9): A critical IDOR vulnerability has been discovered in Comet Backup affecting all versions from 20.11.0 to 26.1.1 and…
Browse all CWE-639 (Authorization Bypass Through User-Controlled Key (IDOR)) vulnerabilities →