CVE-2026-41947: Dify < 1.14.2 Authorization Bypass via Trace Configuration Endpoints
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.
Security readout for executives and security teams
Plain-English summary
Dify before 1.14.2 can let a user with editor-level access configure tracing for applications outside their tenant. That could silently send prompts, messages, and responses from another customer or workspace to an attacker-controlled trace provider. The issue is especially serious for multi-tenant or public-facing Dify environments.
Executive priority
Prioritize remediation urgently if Dify handles customer, business, or regulated AI data. The main business risk is silent cross-tenant data leakage through tracing. Upgrade and audit quickly; do not assume compromise without evidence from logs or vendor guidance.
Technical view
This is a CWE-639 authorization bypass in Dify trace configuration endpoints. Missing tenant ownership checks allow authenticated editor users to set and enable trace configurations for arbitrary applications. Sources describe redirection of victim application LLM traces to attacker-controlled providers. The CVE lists CVSS 4.0 score 9.3 and Dify versions before 1.14.2 as affected.
Likely exposure
Organizations running Dify before 1.14.2 are potentially exposed, especially multi-tenant deployments, externally reachable instances, or environments where users can self-register or obtain editor roles. The source notes Dify Cloud allows unauthenticated free self-registration, but customers should verify current vendor status.
Exploitation context
Public technical writeups are available, but the provided sources do not establish active exploitation in the wild. CISA KEV status is false in the provided bundle. The attack requires the ability to use an editor account, though account creation may be easy where self-registration is enabled.
Researcher notes
The affected surface is trace configuration authorization, not model inference itself. Validate exposure by version and by whether untrusted users can become editors. The CVSS vector lists PR:N, while the narrative describes authenticated editor users; treat this discrepancy carefully during risk scoring.
Mitigation direction
Upgrade Dify to version 1.14.2 or later.
Review Langgenius release notes, pull request, and patch commit.
Restrict self-registration and editor role assignment until upgraded.
Audit trace configurations for unexpected providers or destinations.
Assess possible exposure of prompts, responses, and sensitive application data.
Validation and detection
Inventory all Dify deployments and record their versions.
Flag any Dify instance below version 1.14.2.
Confirm the tenant ownership check patch is present.
Review trace settings across applications for unauthorized changes.
Check logs for unexpected trace configuration updates by editor users.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-639: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references privilege impact, so privilege escalation and authorization behavior review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
3Timeline events
1ADP providers
7Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: yesTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-639 · source CWE mapping
Authorization Bypass Through User-Controlled Key
Authorization Bypass Through User-Controlled Key represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.