Skip to main content

Dify CVE-2026-6617

| EUVDEUVD-2026-23805 LOW
Server-Side Request Forgery (SSRF) (CWE-918)
2026-04-20 VulDB
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to Dify application
  2. Delivery
    Access API tool creation feature
  3. Exploit
    Submit crafted request with malicious URL parameter
  4. Execution
    Server processes URL and makes outbound request
  5. Impact
    Attacker receives response from internal service or obtains reconnaissance data

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

The vulnerability requires an authenticated user account with permission to create or modify API tools in Dify. The attack is initiated by sending a crafted request to the get_api_tool_provider_remote_schema function with a manipulated URL argument pointing to internal resources (localhost, private IP ranges, or internal hostnames). No special configuration or non-default settings are required beyond having the API tool feature enabled, which is enabled by default in standard Dify deployments. The attack is limited to making HTTP requests from the server's perspective - actual exploitation impact depends on what services are accessible from the Dify server and what response data is returned and visible to the attacker. Exploitation requires network connectivity from the Dify server to the target internal service.

Impact

CVSS 6.3 with AV:N/AC:L/PR:L indicates remote network access with low complexity but requiring authenticated login (PR:L). The E:P field indicates proof-of-concept code is available, increasing real-world risk. The vulnerability affects confidentiality, integrity, and availability (C:L/I:L/A:L) at low impact level per confidentiality impact. However, SSRF vulnerabilities often carry underestimated risk: while individual impact is low, SSRF can serve as a pivot point for internal reconnaissance, data exfiltration, or chaining with other vulnerabilities. The requirement for authentication (PR:L) reduces blast radius compared to unauthenticated SSRF but still poses significant risk in multi-tenant environments or where user accounts are compromised. Vendor non-responsiveness to early disclosure significantly elevates concern. The real-world priority depends on deployment context: low risk in isolated internal deployments with trusted users, high risk in SaaS environments or where Dify users cannot be fully trusted.

Exploit ScenarioDerived

An authenticated user with access to Dify's API tool creation feature supplies a malicious URL parameter (such as 'http://localhost:8080/admin' or 'http://internal-database:5432') to the get_api_tool_provider_remote_schema endpoint. The server processes this URL and makes an outbound HTTP request, allowing the attacker to read responses from internal services, access internal management panels, or probe the internal network topology. With publicly available exploit code, this attack requires minimal technical skill.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Apr 20, 2026

Server-side request forgery (SSRF) in Dify's ApiToolManageService allows authenticated remote attackers to manipulate the URL argument in the get_api_tool_provider_remote_schema function, enabling them to make arbitrary HTTP requests from the server. Affects Dify versions up to 0.6.9. Publicly available exploit code exists, and the vendor has not responded to early disclosure attempts.

RemediationAI

Upgrade Dify to a patched version released after 0.6.9 immediately. However, vendor advisory details and specific patched version numbers are not confirmed in the provided data - contact Langgenius directly or check the Dify GitHub repository (https://github.com/langgenius/dify) for patch availability and exact upgrade instructions. As an immediate compensating control pending patching, restrict access to Dify's API endpoints to trusted internal networks only using a firewall or WAF, implement URL validation/allowlisting in the get_api_tool_provider_remote_schema function to restrict requests to approved external domains only (this requires code modification), and disable or restrict the API tool provider feature if it is not actively used. Additionally, implement network segmentation to prevent the Dify server from accessing internal services (restrict outbound connections from Dify to only required external APIs), and monitor outbound HTTP requests from the Dify application for suspicious destinations or access to internal IP ranges. Note that network segmentation may impact legitimate API tool functionality and should be carefully scoped.

Affected VersionsENISA

dify 0.6.9
dify 0.6.3
dify 0.6.7
dify 0.6.8
dify 0.6.6
dify 0.6.1
dify 0.6.4
dify 0.6.2
dify 0.6.0
dify 0.6.5

Affected Packages

euvd dify no fix

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

The vulnerability exists in the ApiToolManageService component (api/services/tools/api_tools_manage_service.py), specifically in the get_api_tool_provider_remote_schema function which handles fetching remote schemas for API tools. The root cause is improper validation of user-supplied URL parameters (CWE-918: Server-Side Request Forgery), allowing an attacker to redirect the server's internal HTTP requests to arbitrary destinations. This could enable reconnaissance of internal services, exfiltration of sensitive data, or attacks on internal infrastructure that would normally be inaccessible from outside the network. Dify is an open-source LLM application development platform that provides API tool integration capabilities, making this function a critical attack surface.

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 (VulDB) PRIMARY 2.1 LOW
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P

Primary rating from Vendor (VulDB) · only source for this CVE.

CVSS VectorVendor: VulDB

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

Lifecycle Timeline

5
Severity Changed
Apr 29, 2026 - 01:12 NVD
MEDIUM LOW
CVSS changed
Apr 29, 2026 - 01:12 NVD
5.3 (MEDIUM) 2.1 (LOW)
PoC Detected
Apr 29, 2026 - 01:00 vuln.today
Public exploit code
CVSS changed
Apr 20, 2026 - 08:22 NVD
6.3 (MEDIUM) 5.3 (MEDIUM)
CVE Published
Apr 20, 2026 - 07:30 nvd
LOW 2.1

DescriptionCVE.org

A vulnerability was detected in langgenius dify up to 0.6.9. This vulnerability affects the function get_api_tool_provider_remote_schema of the file api/services/tools/api_tools_manage_service.py of the component ApiToolManageService. Performing a manipulation of the argument url results in server-side request forgery. The attack can be initiated remotely. The exploit is now public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

Threat Intelligence Overview

EPSS Score
0.0%
Top 90% exploitable
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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 LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
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 HIGH POC
7.5 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