CVE-2026-41947: Authorization bypass in Dify trace configuration endpoints
- Vendors
- LanggeniusDify
CVE-2026-41947 is an authorization bypass vulnerability in Dify before version 1.14.2 affecting the tracing subsystem used for profiling, monitoring, and logging application messages and model responses. The flaw is caused by missing tenant ownership validation in trace configuration endpoints, allowing an authenticated user with editor-level access to set and enable tracing for applications outside their own tenant. By abusing these endpoints, an attacker can register an attacker-controlled LLM trace provider for a victim application and hijack its tracing configuration. In multi-tenant deployments, this breaks tenant isolation and enables cross-tenant interception of application traffic. Publicly accessible applications are especially exposed because an attacker can access them as a client and then manipulate tracing configuration despite lacking legitimate ownership of the target application.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can create a persistent exfiltration channel for victim applications. An attacker can cause all messages, prompts, chat histories, model responses, and related traced interactions from targeted applications to be forwarded to attacker-controlled tracing infrastructure. The primary impact is severe confidentiality loss affecting AI conversations and application data, with additional integrity impact because the attacker can alter tracing settings for applications they do not own. In multi-tenant cloud environments, the flaw enables cross-tenant data exposure.
Mitigation
If you can’t patch tonight, do this now.
Until remediation is fully deployed, restrict access to trace configuration functionality and endpoints to the smallest possible administrative population, disable or tightly control tracing features where operationally feasible, and continuously monitor for unexpected changes to trace providers or trace enablement state. In cloud environments with open self-registration, limit account creation where possible, strengthen tenant onboarding controls, and perform targeted auditing of applications exposed publicly. Additional compensating controls should include alerting on trace configuration changes and reviewing logs for cross-tenant modification attempts.
Remediation
Patch, then assume compromise.
Upgrade Dify to version 1.14.2 or later. The fix must enforce tenant ownership checks on all trace configuration and trace enablement operations so that only authorized users within the owning tenant can modify tracing for a given application. After patching, review existing trace configurations across all applications, remove any unauthorized or unknown trace providers, rotate credentials or tokens associated with tracing integrations if compromise is suspected, and audit historical access to identify possible data exposure.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-41947 exploited in the wild?
- As of Sep 25, 2026, Mallory has no reports of CVE-2026-41947 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-41947?
- Yes. As of Sep 25, 2026, Mallory has reports of a public exploit for CVE-2026-41947.
- Is there a patch for CVE-2026-41947?
- Upgrade Dify to version 1.14.2 or later. The fix must enforce tenant ownership checks on all trace configuration and trace enablement operations so that only authorized users within the owning tenant can modify tracing for a given application.
- What products are affected by CVE-2026-41947?
- Dify and Langgenius Dify.
- How severe is CVE-2026-41947?
- CVE-2026-41947 has a CVSS v4 score of 9.3 (Critical) and an EPSS score of 6.0% (93rd percentile) as of Sep 25, 2026.
Recent activity
16 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.