Skip to main content

Dify CVE-2025-67732

HIGH
Information Exposure (CWE-200)
2026-01-05 security-advisories@github.com
8.4
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as non-admin Dify user
  2. Delivery
    Open config page exposing key
  3. Exploit
    Inspect frontend response for plaintext API key
  4. Execution
    Extract and reuse key externally
  5. Impact
    Unauthorized 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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

AnalysisAIv2 – 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)
v1 Mar 12, 2026 - 21:54 CVSS 6.5

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

Vendor (github) PRIMARY 8.4 HIGH
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
vuln.today AI 9.1 CRITICAL

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).

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

Primary rating from Vendor (github).

CVSS VectorVendor: github

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

Lifecycle Timeline

5
Analysis Updated
Sep 30, 2026 - 23:06 vuln.today
v2 - CVSS changed
Severity Changed
Sep 30, 2026 - 22:23 NVD
MEDIUM HIGH
CVSS changed
Sep 30, 2026 - 22:23 NVD
6.5 (MEDIUM) 8.4 (HIGH)
PoC Detected
Jan 12, 2026 - 18:20 vuln.today
Public exploit code
CVE Published
Jan 05, 2026 - 22:15 nvd
MEDIUM 6.5

DescriptionCVE.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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 87% exploitable
Prevalence
Medium
popular open-source LLM app-building platform, common but not ubiquitous in enterprises
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

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 Yes
EPSS 0.0%
Patch available No
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· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Medium

Priority Score

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

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

cpe:2.3:a:dify:dify:*:*:*:*:*:*:*:*

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

CVE-2024-11822 HIGH POC
7.5 Mar 20

langgenius/dify version 0.9.1 contains a Server-Side Request Forgery (SSRF) vulnerability. Rated high severity (CVSS 7.5

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