Skip to main content

Dify CVE-2026-6618

| EUVDEUVD-2026-23807 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 API
  2. Delivery
    Submit malicious OpenAI plugin with crafted URL
  3. Exploit
    Trigger parse_openai_plugin_json_to_tool_bundle function
  4. Execution
    Server makes unvalidated HTTP request to attacker-controlled target
  5. Impact
    Exfiltrate response data or access internal service

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

Exploitation requires: (1) authenticated access to the Dify API - the attacker must possess valid credentials or be a legitimate user with API access (PR:L in CVSS vector confirms this requirement); (2) the ability to submit or modify an OpenAI plugin configuration containing a malicious 'url' parameter; (3) the targeted URL must be reachable from the Dify server's network perspective (e.g., internal services on the same network, metadata endpoints if Dify is cloud-hosted). Default Dify installations are vulnerable if they expose the plugin configuration API to authenticated users. Non-default configurations or network segmentation that restricts the Dify server's outbound connectivity can reduce exposure.

Impact

CVSS 6.3 with CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R indicates network-accessible SSRF with low attack complexity requiring authenticated access. The PR:L (low privilege) requirement is a significant limiting factor - this is not a pre-authentication attack. However, publicly available exploit code (E:P) and typical SSRF impact (confidentiality, integrity, availability across internal systems) elevates practical risk in multi-tenant or Internet-facing Dify deployments. The RL:X (remediation unknown) and RC:R (reasonable confidence) tags suggest the vendor has not issued patches or guidance. Real-world risk depends heavily on deployment context: if Dify is exposed to untrusted users who can authenticate (e.g., SaaS platform, public instance), risk is substantial despite PR:L requirement. If Dify is internal-only or behind strong access controls, risk is lower. The lack of vendor response is a negative signal for remediation timeline.

Exploit ScenarioDerived

An authenticated user (e.g., an employee with access to a Dify instance, or an account created via public sign-up on a vulnerable deployment) submits a malicious OpenAI plugin configuration with a crafted URL pointing to an internal service (e.g., http://localhost:6379 for Redis, http://169.254.169.254/metadata for AWS metadata, or http://internal-api.example.com). When Dify parses the plugin JSON via parse_openai_plugin_json_to_tool_bundle, the unvalidated URL is used in an HTTP request made by the server. The attacker receives the response, leaking sensitive data, credentials, or internal service information.

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 in Dify up to version 1.13.3 allows authenticated remote attackers to manipulate the URL argument in the ApiBasedToolSchemaParser component, enabling arbitrary HTTP requests from the server to internal or external systems. The vulnerability affects the parse_openai_plugin_json_to_tool_bundle function in api/core/tools/utils/parser.py. Publicly available exploit code exists, and the vendor has not responded to early disclosure notification.

RemediationAI

Immediate action: upgrade Dify to a version later than 1.13.3 once available. Since the vendor has not responded to disclosure and no patch version is currently confirmed in available references, monitor the official Dify GitHub repository (https://github.com/langgenius/dify) and VulDB for patch releases. As a temporary compensating control, restrict network access to the Dify API endpoint to trusted users and networks only, reducing the attack surface to authenticated users you control. Additionally, implement strict URL validation in the ApiBasedToolSchemaParser by adding a whitelist of allowed domains for OpenAI plugin URLs and blocking requests to private IP ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 127.0.0.1/8, and metadata service endpoints like 169.254.169.254). Monitor outbound HTTP/HTTPS connections from the Dify server for unexpected external requests. These controls reduce but do not eliminate the risk until a vendor patch is available.

Affected VersionsENISA

dify 1.13.0
dify 1.13.3
dify 1.13.1
dify 1.13.2

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 resides in the ApiBasedToolSchemaParser component of Dify, an open-source LLM application development framework. The parse_openai_plugin_json_to_tool_bundle function processes OpenAI plugin JSON manifests to construct tool schemas. The flaw occurs because user-supplied URL parameters are not properly validated or restricted before being used in server-side HTTP requests, violating CWE-918 (Server-Side Request Forgery). This allows attackers to craft malicious plugin configurations that cause the Dify server to make unintended requests to arbitrary targets, potentially accessing internal services, metadata endpoints, or external systems not otherwise reachable by the attacker.

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 - 09:37 NVD
6.3 (MEDIUM) 5.3 (MEDIUM)
CVE Published
Apr 20, 2026 - 07:45 nvd
LOW 2.1

DescriptionCVE.org

A flaw has been found in langgenius dify up to 1.13.3. This issue affects the function parse_openai_plugin_json_to_tool_bundle of the file api/core/tools/utils/parser.py of the component ApiBasedToolSchemaParser. Executing a manipulation of the argument url can lead to server-side request forgery. The attack can be launched remotely. The exploit has been published 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
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL 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