
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-41948 is a relative path traversal vulnerability in Dify (an open-source LLM application platform) affecting version 1.14.1 and prior. The flaw allows attackers to manipulate requests forwarded to the Plugin Daemon's internal REST API by exploiting insufficient URL path sanitization in BasePluginClient._prepare_request (api/core/plugin/impl/base.py). Because Dify Cloud permits unauthenticated free self-registration, the effective barrier to exploitation is minimal — only knowledge of a victim tenant's UUID is required. It carries a CVSS v3.1 base score of 9.4 (Critical) and a CVSS v4.0 base score of 9.3 (Critical) (Github Advisory, Feedly).
The root cause is CWE-23 (Relative Path Traversal): the function BasePluginClient._prepare_request in api/core/plugin/impl/base.py joins a caller-supplied path onto the Plugin Daemon's internal API base URL without validating for traversal sequences (Github PR). Attackers craft requests containing unencoded .. dot sequences or URL-encoded variants (%2e%2e, %252e%252e) in task identifiers or filename parameters, causing the application to escape the authorized tenant path and reach internal endpoints such as debug interfaces (Github Advisory). The Go-based Plugin Daemon service is the intended trust boundary, but incomplete path normalization on the Python controller side allows traversal sequences to pass through before the daemon can enforce restrictions. The vulnerability was discovered and reported by Ido Shani of Zafran via the Huntr bug bounty platform (Github PR).
Successful exploitation enables an attacker to read sensitive data and modify configurations across tenant boundaries by accessing the Plugin Daemon's internal REST API endpoints — including debug interfaces — outside their authorized tenant scope (Github Advisory). Confidentiality and integrity impacts are rated High, as an attacker can exfiltrate sensitive tenant data and alter system configurations; availability impact is Low. On Dify Cloud, where free self-registration is permitted, any unauthenticated internet user can register an account and immediately leverage this vulnerability against other tenants with only their UUID, making cross-tenant data exposure a realistic risk (Feedly).
As of the time of disclosure, there is no public proof-of-concept exploit code and no confirmed evidence of in-the-wild exploitation (Feedly). A Huntr bounty report exists at https://huntr.com/bounties/35b7ad59-e35d-443f-bf77-387bfb932ec0, but its content was not publicly available at the time of analysis. The EPSS score is approximately 0.056–0.079% (23rd percentile), indicating a currently low but non-negligible probability of exploitation within 30 days (Github Advisory). The vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, though CISA referenced it in a weekly bulletin (Feedly).
.., %2e%2e, or double-encoded %252e%252e) within task identifier or filename parameters to escape the authorized tenant path.BasePluginClient._prepare_request function joins the attacker-controlled path onto the Plugin Daemon's internal base URL without sanitization, forwarding the traversal sequence to the daemon..., %2e%2e, %252e%252e, or other encoded dot sequences in path parameters; requests accessing internal or debug endpoints from tenant contexts that should not have access to them./inner-api/ paths that include ../ or encoded equivalents; access to debug endpoints from unexpected tenant UUIDs.The fix was merged into the Dify main branch on May 25, 2026 via pull request #35796, adding a decode-and-check guard in api/core/plugin/impl/base.py that rejects any path containing .. or %2e%2e segments after URL decoding before constructing the forwarded URL (Github PR). Users should upgrade Dify to a version later than 1.14.1 that includes this patch. As interim workarounds: implement strict input validation and URL path sanitization for all Plugin Daemon API requests; restrict network-level access to the Plugin Daemon from trusted sources only; and monitor for anomalous cross-tenant API access patterns (Github Advisory).
The vulnerability received coverage from security aggregators including The Hacker Wire, Offseq Radar, and VulnDB shortly after disclosure on May 18, 2026 (Feedly). VulnCheck published a dedicated advisory noting the path traversal via Plugin Daemon internal API access. Social media activity was observed on Mastodon and Bluesky, with infosec community accounts sharing the CVE details. CISA referenced the vulnerability in its weekly security bulletin (SB26-145), indicating awareness at the federal advisory level.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."