Skip to main content

Dify EUVDEUVD-2026-118326

| CVE-2026-58141 HIGH
Server-Side Request Forgery (SSRF) (CWE-918)
2026-11-06 VulnCheck GHSA-4fc6-wx4f-48w6
7.2
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as any console user
  2. Delivery
    Submit URL to remote-files endpoint or HTTP Request node
  3. Exploit
    Proxy forwards without destination ACL
  4. Execution
    Reach IMDS or internal service
  5. Impact
    Read 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

dify 0.6.0 <1.15.0

Affected Packages

euvd dify fix: 1.15.0

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

Vendor (VulnCheck) PRIMARY 7.2 HIGH
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
vuln.today AI 7.6 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 65% exploitable
Prevalence
Medium
popular open-source LLM app platform, moderate real-world production footprint
Data Quality
7 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

More in Dify

View all
CVE-2025-63387 MEDIUM POC
4.3 Dec 18

Dify 1.9.1 permits unauthenticated remote GET requests to the /console/api/system-features console endpoint, letting ano

CVE-2025-56157 CRITICAL POC
9.8 Dec 18

Hard-coded default PostgreSQL credentials shipped in the docker-compose.yaml of langgenius Dify through version 1.5.1 al

CVE-2026-41948 CRITICAL POC
9.3 May 18

Path traversal in Dify versions 0 through 1.14.1 allows authenticated tenants to escape their authorized tenant path and

CVE-2026-41947 CRITICAL POC
9.3 May 18

Cross-tenant authorization bypass in LangGenius Dify versions through 1.14.1 lets any logged-in editor reroute another t

CVE-2025-1796 HIGH POC
8.8 Mar 20

A vulnerability in langgenius/dify v0.10.1 allows an attacker to take over any account, including administrator accounts

CVE-2026-61461 HIGH POC
8.7 Jul 10

SQL injection in Dify's MyScale vector store backend (versions before 1.16.0-rc1) lets authenticated attackers execute a

CVE-2025-67732 HIGH POC
8.4 Jan 05

Plaintext exposure of third-party service API keys in Dify prior to version 1.11.0 allows any authenticated non-administ

CVE-2026-41949 HIGH POC
8.2 May 18

Cross-tenant document disclosure in Dify 1.14.1 and prior allows any authenticated user to read up to 3,000 characters o

CVE-2024-12039 HIGH POC
8.1 Mar 20

langgenius/dify version v0.10.1 contains a vulnerability where there are no limits applied to the number of code guess a

CVE-2024-12776 HIGH POC
8.1 Mar 20

In langgenius/dify v0.10.1, the `/forgot-password/resets` endpoint does not verify the password reset code, allowing an

CVE-2025-43862 HIGH POC
7.6 Apr 25

Dify is an open-source LLM app development platform. Rated high severity (CVSS 7.6), this vulnerability is remotely expl

CVE-2024-11824 HIGH POC
7.6 Mar 20

A stored cross-site scripting (XSS) vulnerability exists in langgenius/dify version latest, specifically in the chat log

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy