Auth bypass in Dify
CVE-2026-41947
Dify before version 1.14.2 contains an authorization bypass vulnerability that allows authenticated editor users to set and enable trace configurations for any application regardless of tenant ownership. Attackers can exploit missing tenant ownership checks in the trace configuration endpoints to redirect all messages and responses from victim applications to attacker-controlled LLM trace providers. NOTE: Dify Cloud allows unauthenticated free self-registration, making account creation trivially accessible to any attacker.
Vulnerability class: IDOR (Insecure Direct Object Reference)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS: 0.006 (48.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 48th percentile — 48.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.060 · newest: 0.006 · change: -0.054
Affected products
- Dify
- Langgenius Dify — versions 0
Weakness classification (CWE)
References
- huntr.com/bounties/a43076b2-fbc8-4750-9647-89a036b52f52 (Exploit, technical-description, Third Party Advisory, exploit)
- github.com/langgenius/dify/pull/35793 (issue-tracking, Patch, Mitigation, patch, Issue Tracking)
- www.vulncheck.com/advisories/dify-authorization-bypass-via-trace-configuration-… (Third Party Advisory, third-party-advisory)
- github.com/langgenius/dify/releases/tag/1.14.2 (release-notes)
- github.com/langgenius/dify/commit/55d05fe52de880cd8497df8cea052351c594fad8 (patch)
- www.zafran.io/resources/difytap-zafran-discovers-how-attackers-can-silently-wir… (technical-description, exploit)
Frequently asked questions
- What is CVE-2026-41947?
- CVE-2026-41947 is a critical-severity vulnerability in Dify, classified under Authorization Bypass Through User-Controlled Key. CVSS score: 9.1/10. Published 2026-05-18.
- How severe is CVE-2026-41947?
- Critical severity. CVSS v3 base score is 9.1 out of 10.