Servers and applications
CVE-2025-67732
Plaintext API Key Exposure via Model Provider Configuration Endpoint
- Severity
- High 8.4
- Published
- 4 Jan 2026
- Last changed
- 27 Feb 2026
- Added to UpHeron
- 3 Nov 2026
- Fixed in
- 1.11.0
- Exploit chance
- 0.4% in the next 30 daysHigher than 29% of CVEs. EPSS by FIRST, 19 Nov 2026
- Attack
- Over the network · Needs a user account · No user action needed
- Attacker can
- Read data
- CVSS vector
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- Also known as
- GHSA-phpv-94hg-fv9g
- Sources
- Project advisories (GitHub)
Description
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.
Currently, the endpoint /console/api/workspaces/current/model-providers returns detailed information about custom model configurations, including credentials. A typical response looks like:
The API key can be found at:
custom_configuration.custom_models[0].credentials.api_key
API keys are typically managed by administrators. Exposing them allows attackers to:
- Use these keys without authorization.
- Consume the administrator’s quota on third-party services.
- Potentially incur additional costs or service disruptions.
Affected software
| Software | Affected versions |
|---|---|
DifyServers and applications · github:langgenius/dify |
|
About Dify
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
- GitHub stars
- 161,177GitHub, 15 Nov 2026
- Forks
- 25,501GitHub, 15 Nov 2026
- Latest release
- 1.19.0GitHub, 15 Nov 2026
- Released
- 4 Nov 2026GitHub
- First published on GitHub
- 12 Apr 2023GitHub
Vulnerabilities in Dify
- In our list
- 42
- Published in the last 12 months
- 21
- Critical, last 12 months
- 3
- High, last 12 months
- 7
- Known exploited
- 0
- GHSA-6j8g-rp8v-55vrPer-IP Rate Limit Bypass via Spoofable X-Forwarded-For and CF-Connecting-IP HeadersMedium 6.5 14 Nov 2026
- CVE-2026-58141Dify < 1.15.0 SSRF Protection Bypass via Remote-Files EndpointsHigh 7.2 6 Nov 2026
- CVE-2026-123135langgenius dify Sandbox Run __init__.py hard-coded credentialsMedium 5.3 5 Nov 2026
- CVE-2026-105761IDOR in AppMCPServer PUT Endpoint Allows Modification of Other Apps' MCP ServersHigh 7.1 19 Aug 2026
- GHSA-9c9q-5rj5-mjj2Cross-Tenant File Preview via Unscoped Console `file_id`High 7.7 15 Jul 2026
- GHSA-fj5w-7rc8-3f3fCross-Tenant External API Usage EnumerationMedium 4.3 15 Jul 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2025-67732
- GitHub Advisory Database https://github.com/advisories/GHSA-phpv-94hg-fv9g
- github.com https://github.com/langgenius/dify/security/advisories/GHSA-phpv-94hg-fv9g