Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as any console user
-
DeliverySubmit URL to remote-files endpoint or HTTP Request node
-
ExploitProxy forwards without destination ACL
-
ExecutionReach IMDS or internal service
-
ImpactRead IAM credentials or write to internal APIs
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires a valid authenticated Dify console account (PR:L) - any such user can exploit it; no admin role, no user interaction, and no non-default configuration are needed because the vulnerable Squid proxy ships defining only source ACLs with no destination deny rules and make_request() performs no independent destination IP validation. Concrete attack surfaces named in the source: GET /console/api/remote-files/<url>, POST /console/api/remote-files/upload, the HTTP Request workflow node, website crawl, and document import from URL. The cloud-credential-theft outcome additionally requires an AWS deployment where the instance metadata service (169.254.169.254) is reachable from the Dify container; internal-service writes (POST/PUT/DELETE) further require internal components that rely on network isolation rather than their own authorization. Limiting factor: the attacker must first hold console credentials, so instances that restrict account registration meaningfully reduce exposure. |
| Impact | This is a genuine priority-tier issue, not merely a high-CVSS-but-low-real-risk flaw, though its exploitation is gated by authentication. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:L, base 7.2) describes a network-reachable, low-complexity attack requiring low privileges (PR:L) and no user interaction, with high confidentiality impact and low integrity/availability impact. PR:L is significant: the description confirms ANY authenticated console user can trigger it, which in multi-tenant or self-service Dify deployments is a low bar. The vuln.today Decision label is 'this_week' and a vendor patch is available, which aligns with real-but-not-emergency urgency. No EPSS score and no KEV listing were provided, so there is no evidence of active exploitation or a quantified exploitation probability - these key signals are MISSING, not low. No confirmed public exploit code is in the input (only a VulnCheck advisory and the fix PR/commit). The standout risk amplifier is the AWS IMDS angle: on AWS deployments the SSRF reads IAM credentials from the instance metadata service, turning a web-app SSRF into a potential cloud-account compromise - this is why VC:H is justified despite authentication. The I:L/A:L reflect that the HTTP Request node also permits POST/PUT/DELETE writes to internal services that rely on network isolation for authz. |
| Exploit ScenarioDerived | An authenticated console user (e.g. a self-registered tenant account) submits a request to an endpoint like GET /console/api/remote-files/<url> or configures an HTTP Request workflow node pointing at 169.254.169.254; because the Squid proxy only enforces source ACLs and make_request() does no destination IP validation, the request reaches the AWS instance metadata service and returns IAM credentials. The same primitive reaches internal components (sandbox, internal APIs, PostgreSQL) and, via the HTTP Request node, issues writes to them. No confirmed public exploit code is identified at time of analysis, though a VulnCheck advisory describes the technique. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 06, 2026
Server-side request forgery in Dify before 1.15.0 lets any authenticated console user bypass the shipped Squid proxy's SSRF protections and reach internal services or cloud metadata endpoints. The proxy configuration defined only source ACLs with no destination deny rules, and the make_request() helper performed no independent destination IP validation, so endpoints like GET /console/api/remote-files/<url>, POST /console/api/remote-files/upload, the HTTP Request workflow node, website crawl, and document import from URL could be pointed at the sandbox, internal APIs, or PostgreSQL; on AWS deployments the instance metadata service could yield IAM credentials, and the HTTP Request node additionally allowed POST, PUT and DELETE writes to internal services that rely on network isolation for authorization. Exploitation requires only a valid console account with no admin role and no user interaction; a public PoC reference exists in the form of the upstream fix context, but it is not verified as working exploit code, and no confirmed active exploitation (CISA KEV) is reported. EPSS data was not provided.
RemediationAI
Upgrade Dify to 1.15.0 or later, which is the vendor-released fix tracked in https://github.com/langgenius/dify/releases/tag/1.15.0 and implemented by PR https://github.com/langgenius/dify/pull/36332 (commit 7bfcf9185c75bb18f0b44335080524e659f087d9); the accompanying advisory is https://www.vulncheck.com/advisories/dify-ssrf-protection-bypass-via-remote-files-endpoints. The update replaces the old SSRF_REVERSE_PROXY_PORT and SSRF_SANDBOX_HOST variables with SSRF_PROXY_ALLOW_PRIVATE_IPS and SSRF_PROXY_ALLOW_PRIVATE_DOMAINS (plus SSRF_SANDBOX_PROXY_HOST and SSRF_SANDBOX_PROXY_PORT in middleware deployments), so self-hosted operators using the Compose templates must update their env files and regenerate the proxy configuration rather than only pulling new images. Where upgrading is not immediately possible, restrict who can hold console accounts and disable open registration, since exploitation is gated on a valid authenticated console user, and review whether the Dify container can reach the AWS instance metadata service - but these reduce exposure rather than remove the flaw, and the vendor's complete fix is updating.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-918 (Server-Side Request Forgery) in the LangGenius Dify LLM application platform (CPE cpe:2.3:a:langgenius:dify, all versions before 1.15.0). Dify routes outbound user-controlled fetches - remote file retrieval, file upload from URL, the HTTP Request workflow node, website crawling and document import from URL - through a bundled Squid proxy container (ssrf_proxy on port 3128) intended to block access to private address space. Per the description, that Squid configuration only defined source ACLs (restricting which clients may use the proxy) without any destination deny rules for internal networks, and the application-side make_request() helper performed no independent destination IP validation, so the defensive layer was effectively absent. The upstream fix (PR 36332, commit 7bfcf9185c75bb18f0b44335080524e659f087d9) reworks the deployment: the proxy entrypoint now generates an explicit private-network allowlist file from SSRF_PROXY_ALLOW_PRIVATE_IPS and SSRF_PROXY_ALLOW_PRIVATE_DOMAINS so selected private targets can be permitted ahead of a default private-network deny rule, and a middleware-only sandbox bridge is created via SSRF_SANDBOX_PROXY_HOST / SSRF_SANDBOX_PROXY_PORT (http_port ... accel vhost with a cache_peer to the sandbox), replacing the older SSRF_REVERSE_PROXY_PORT / SSRF_SANDBOX_HOST variables. The underlying design issue is that internal components (sandbox, internal APIs, PostgreSQL) trusted network isolation rather than their own authorization, which is why the HTTP Request node's additional POST, PUT and DELETE capability matters beyond simple data disclosure.
Know when Dify gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N
Network-reachable SSRF by any authenticated console user (PR:L, AC:L, no UI); C:H from reading AWS IAM/metadata, I:L/A:L from constrained writes to internal services.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Dify before 1.15.0 contains a server-side request forgery vulnerability that allows any authenticated console user to bypass SSRF protections and issue arbitrary HTTP requests to internal services and cloud metadata endpoints due to the Squid proxy configuration only defining source ACLs without destination deny rules and the make_request() helper performing no independent destination IP validation. Attackers can use endpoints such as GET /console/api/remote-files/<url>, POST /console/api/remote-files/upload, the HTTP Request workflow node, website crawl, or document import from URL to reach internal components like the sandbox, internal APIs, and PostgreSQL, and on AWS deployments read IAM credentials from the instance metadata service, with the HTTP Request node further enabling POST, PUT, and DELETE writes to internal services relying on network isolation for authorization.
Articles & Coverage 1
Executive ViewAI
CVE-2026-58141 is a high-severity SSRF flaw in Dify (before 1.15.0) that allows any authenticated console user to bypass the Squid proxy and access internal services or cloud metadata, potentially exposing IAM credentials and enabling unauthorized writes to internal systems. Leadership should care because this vulnerability affects all Dify deployments, and exploitation could lead to cloud infrastructure compromise and data breaches, impacting organizational security and compliance.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Dify 1.9.1 permits unauthenticated remote GET requests to the /console/api/system-features console endpoint, letting ano
Hard-coded default PostgreSQL credentials shipped in the docker-compose.yaml of langgenius Dify through version 1.5.1 al
Path traversal in Dify versions 0 through 1.14.1 allows authenticated tenants to escape their authorized tenant path and
Cross-tenant authorization bypass in LangGenius Dify versions through 1.14.1 lets any logged-in editor reroute another t
A vulnerability in langgenius/dify v0.10.1 allows an attacker to take over any account, including administrator accounts
SQL injection in Dify's MyScale vector store backend (versions before 1.16.0-rc1) lets authenticated attackers execute a
Plaintext exposure of third-party service API keys in Dify prior to version 1.11.0 allows any authenticated non-administ
Cross-tenant document disclosure in Dify 1.14.1 and prior allows any authenticated user to read up to 3,000 characters o
langgenius/dify version v0.10.1 contains a vulnerability where there are no limits applied to the number of code guess a
In langgenius/dify v0.10.1, the `/forgot-password/resets` endpoint does not verify the password reset code, allowing an
Dify is an open-source LLM app development platform. Rated high severity (CVSS 7.6), this vulnerability is remotely expl
A stored cross-site scripting (XSS) vulnerability exists in langgenius/dify version latest, specifically in the chat log
EUVD-2026-118326
GHSA-4fc6-wx4f-48w6
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB