Dify
CVE-2025-67732
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as non-admin Dify user
-
DeliveryOpen config page exposing key
-
ExploitInspect frontend response for plaintext API key
-
ExecutionExtract and reuse key externally
-
ImpactUnauthorized third-party service access and quota drain
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK
2 techniques across 2 tactics: Collection, Discovery The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated non-administrator account on the Dify instance (PR:L); it is not anonymously exploitable. The specific trigger is that Dify prior to 1.11.0 serves third-party service API keys in plaintext within frontend responses/configuration views, so any logged-in non-admin who inspects the frontend can read and reuse them. Limiting factors: a valid user account is needed, the instance must run an affected version (<1.11.0), and meaningful impact depends on the leaked keys granting access to consequential or quota-limited third-party services. No user interaction by a victim and no special non-default configuration is required beyond having third-party service credentials configured in Dify. |
| Impact | Signals point to a real but moderate-priority issue rather than an emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) confirms network-reachable, low-complexity exploitation, but PR:L means a valid non-administrator account on the Dify instance is required - this is a privilege/trust-boundary flaw, not anonymous exploitation. EPSS is very low at 0.04% (13th percentile), indicating no modeled likelihood of mass exploitation, and the vulnerability is NOT in CISA KEV, so there is no evidence of active exploitation. The only exploit signal is the GitHub Security Advisory reference tagged as 'exploit'; treat this as vendor disclosure detail rather than confirmed weaponized exploit code - no independent public PoC is evidenced beyond the advisory itself. The impact profile is confidentiality-dominant (VC:H: plaintext API key leak) with cascading effects on third-party services (SC:H, SI:L, SA:L), consistent with CWE-200. Net: a genuine information-disclosure/trust-boundary defect worth patching, but the authentication requirement and near-zero EPSS place it well below internet-facing unauthenticated RCE-class risk. |
| Exploit ScenarioDerived | A low-privileged non-administrator user logs into a shared Dify instance and opens a configuration page whose frontend response includes a third-party service API key (e.g., an LLM provider or integration credential) in plaintext. The user copies the key and reuses it outside Dify to make unauthorized calls against the third-party service, consuming the organization's limited quota or incurring cost. The GitHub advisory documents the flaw, but exploitation is trivial and requires only an ordinary account plus browser dev-tools inspection. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Sep 30, 2026
Plaintext exposure of third-party service API keys in Dify prior to version 1.11.0 allows any authenticated non-administrator user to read those credentials from frontend responses and configuration views, then reuse them against the linked third-party services. Exploitation requires a valid low-privileged account on the instance (CVSS PR:L), so it is not anonymously triggerable, and the practical damage depends on how consequential or quota-limited the leaked keys are - the most likely outcome is unauthorized consumption of paid API quotas and access to external LLM or data services. Publicly available exploit code exists and the issue is fixed in Dify 1.11.0, but EPSS is very low (0.04%, ~13th percentile) and there is no CISA KEV confirmation, so this reads as a real but moderate-priority credential-disclosure issue rather than an emergency.
Earlier versions of this analysis (1)
Dify is an open-source LLM app development platform. Prior to version 1.11.0, the API key is exposed in plaintext to the frontend, allowing non-administrator users to view and reuse it. [CVSS 6.5 MEDIUM]
RemediationAI
Upgrade Dify to version 1.11.0 or later - that is the vendor-released patch and the only fully effective fix per the upstream advisory (GHSA-phpv-94hg-fv9g). Because the keys were exposed to clients before the fix, upgrading alone does not undo the disclosure: treat every third-party service API key previously configured in the instance as compromised, revoke and rotate each one at the provider (OpenAI, Anthropic, or whichever services are wired in), and audit provider-side usage logs and billing for unexpected consumption during the exposure window. Where immediate upgrading is not possible, reduce exposure by temporarily removing non-administrator accounts from the Dify instance and auditing existing low-privileged users, since a valid authenticated session is the prerequisite for exploitation; the trade-off is that this blocks normal collaborator access to the platform. As a further compensating measure, replace broadly scoped or high-quota credentials with per-integration keys limited to the minimum required permissions and spend caps, so that any residual leak has bounded blast radius - accepting that this does not prevent the disclosure itself, only limits its consequences. Restrict network access to the Dify frontend to trusted users until the upgrade is complete, and monitor for any anomalous outbound calls to third-party APIs originating from the platform.
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
The root cause class is CWE-200, Exposure of Sensitive Information to an Unauthorized Actor, realized here as a client-side secret disclosure rather than a server-side memory or error-handling leak. Dify is an open-source LLM application development platform that acts as an orchestration layer in front of external model providers and tool integrations; to make those integrations work, administrators configure third-party service API keys that the backend stores and uses. In versions before 1.11.0, that key material was passed to the browser in plaintext as part of frontend configuration or response data, meaning the secrecy of the credential depended entirely on the client's privilege state rather than on server-side access control. Because the values are delivered to the rendering layer, any authenticated session - including one with a non-administrator role - can inspect network traffic or page state and recover the keys verbatim. The affected deployment surface is effectively all Dify builds below 1.11.0, consistent with the wildcard CPE cpe:2.3:a:dify:dify:*:*:*:*:*:*:*:*, which does not constrain the product to a specific platform, edition, or patch level.
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:N/VA:N/SC:H/SI:L/SA:L
Authenticated non-admin over network (PR:L, AV:N, AC:L); plaintext key leak is C:H; scope changes to third-party services (S:C) where reuse causes quota/action impact (I:L/A:L).
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
5DescriptionCVE.org
Dify is an open-source LLM app development platform. Prior to version 1.11.0, the API key is exposed in plaintext to the frontend, allowing non-administrator users to view and reuse it. This can lead to unauthorized access to third-party services, potentially consuming limited quotas. Version 1.11.0 fixes the issue.
Executive ViewAI
Dify instances running versions below 1.11.0 expose third-party service API keys to any logged-in non-administrator user, allowing those credentials to be lifted from frontend responses and configuration views and reused against the organization's linked external LLM, data, and SaaS providers. The practical exposure is limited to people who already hold a valid low-privileged account - employees, contractors, or shared-tenant users - but the downstream consequences land on the organization's budget and vendor relationships through unauthorized consumption of paid API quotas and access to data held in connected third-party services. Leadership should treat this as a credential-hygiene, third-party-spend, and data-sharing issue requiring an upgrade plus systematic key rotation, rather than a perimeter emergency.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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
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
langgenius/dify version 0.9.1 contains a Server-Side Request Forgery (SSRF) vulnerability. Rated high severity (CVSS 7.5
NVD
CVE.org
EPSS
GitHub
Exploit-DB