Dify
CVE-2026-34082
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Dify instance as legitimate user
-
DeliveryEnumerate or obtain target user's conversation ID
-
ExploitCraft DELETE request with target conversation ID
-
ExecutionServer accepts request due to missing authorization check
-
PersistTarget user's conversation deleted
-
ImpactUser detects data loss
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must be an authenticated Dify user (PR:L satisfies this requirement); no special administrative privileges are needed. The attacker must know or be able to enumerate a valid conversation ID belonging to another user. The DELETE endpoint must be accessible over the network without additional authentication layers (AV:N/AC:L). No special product configuration or non-default deployment mode is required - the vulnerability exists in default Dify installations. Exploitation is hindered only by the need for valid authentication credentials and knowledge of target conversation IDs, but if conversation IDs are predictable or discoverable, these barriers are minimal. |
| Impact | This vulnerability presents moderate real-world risk despite a CVSS score of 5.3. The CVSS vector shows network accessibility (AV:N), low attack complexity (AC:L), and low authentication requirements (PR:L - any authenticated user qualifies), making exploitation straightforward for any user with valid Dify credentials. The impact is limited to integrity violation (VI:L) with no confidentiality or availability compromise, meaning attackers can delete but not read or modify the underlying conversation data in other ways. EPSS scoring data is not provided, limiting exploitation probability assessment. The exploitation conditions are specific: an attacker must have valid Dify authentication credentials and know or guess a valid conversation ID belonging to another user. Given Dify's role as an LLM development platform used in enterprise and development environments, the real-world severity depends on deployment context - multi-tenant SaaS deployments face higher risk than single-organization self-hosted instances. The vulnerability is likely automated and scalable if conversation IDs are sequential or predictable, but requires valid authentication, which reduces opportunistic exploitation. The patched version 1.13.1 is available, making this a manageable risk for organizations that apply updates promptly. |
| Exploit ScenarioDerived | An authenticated user in a shared Dify instance obtains or guesses another user's conversation ID (e.g., through sequential ID enumeration or information disclosure). They craft a DELETE request to /console/api/installed-apps/<appId>/conversations/<conversationId> with the target conversation ID, which is accepted because the authorization check fails to verify ownership. The target user's conversation history is permanently deleted, causing data loss and disrupting their workflow. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 20, 2026
Dify prior to version 1.13.1 allows any authenticated user to delete other users' chat histories via the DELETE /console/api/installed-apps/<appId>/conversations/<conversationId> endpoint due to insufficient authorization checks. An authenticated attacker can target any conversation ID to perform unauthorized deletion, resulting in data loss for other users. This vulnerability requires valid Dify authentication but no special privileges, affecting all vulnerable versions via network access.
RemediationAI
Update Dify to version 1.13.1 or later immediately, as vendor-released patches are available in the official release at https://github.com/langgenius/dify/releases/tag/1.13.1. For organizations unable to upgrade immediately, implement network-level access controls restricting the /console/api/installed-apps endpoint to authenticated and authorized users only, and consider disabling the conversation deletion feature via application configuration if not essential to your workflow. Monitor and audit conversation deletion logs for suspicious patterns (bulk deletions, cross-user deletions) to detect exploitation attempts. Note that these compensating controls provide detection and partial mitigation but do not prevent the vulnerability itself - upgrading to 1.13.1 is the definitive fix and should be prioritized.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Dify is an open-source LLM application development platform that provides conversational interfaces and chat management capabilities. The vulnerability resides in the conversation deletion endpoint, which implements authentication (PR:L in CVSS vector) but fails to perform adequate authorization checks to verify that the requesting user owns or has permission to delete the targeted conversation. CWE-863 (Incorrect Authorization) indicates the root cause is missing or improper access control logic that should validate resource ownership before allowing deletion. The affected endpoint exposes conversation resources without verifying the requester's relationship to the conversation data, allowing horizontal privilege escalation where one authenticated user can manipulate another user's data.
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:N/VI:L/VA:N/SC:N/SI:N/SA:N
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
Dify is an open-source LLM app development platform. Prior to 1.13.1, the method DELETE /console/api/installed-apps/<appId>/conversations/<conversationId> has poor authorization checking and allows any Dify-authenticated user to delete someone else's chat history. Version 1.13.1 patches the issue.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Affected Products (CPE)CVE.org
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
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB