CVE-2026-40173: CWE-200: Exposure of Sensitive Information to an Unauthorized Actor in dgraph-io dgraph
Dgraph versions 25. 3. 1 and earlier contain a critical vulnerability where an unauthenticated endpoint exposes the full process command line, including the admin token. This token can be extracted by an attacker and used to gain unauthorized administrative access to privileged endpoints, allowing configuration changes and operational control. The vulnerability is fixed in version 25. 3. 2.
AI Analysis
Technical Summary
Dgraph, an open source distributed GraphQL database, has an unauthenticated credential disclosure vulnerability in versions prior to 25.3.2. The /debug/pprof/cmdline endpoint is accessible without authentication and reveals the full process command line, including the admin token passed via the --security "token=..." startup flag. An attacker can retrieve this token and reuse it in the X-Dgraph-AuthToken header to bypass admin token validation and access admin-only endpoints such as /admin/config/cache_mb. This grants unauthorized privileged administrative access, including configuration and operational control, on any deployment where the Alpha HTTP port is exposed to untrusted parties. The issue is resolved in version 25.3.2.
Potential Impact
An attacker can obtain the admin token without authentication and use it to gain unauthorized administrative access to the Dgraph database. This allows the attacker to perform privileged actions such as changing configurations and controlling operational parameters, potentially compromising the integrity and availability of the database. The vulnerability has a CVSS score of 9.4 (critical), indicating high impact on confidentiality, integrity, and low impact on availability.
Mitigation Recommendations
Upgrade Dgraph to version 25.3.2 or later, where this vulnerability is fixed. Until the upgrade is applied, restrict access to the Alpha HTTP port to trusted parties only to prevent unauthorized access to the vulnerable endpoint. Patch status is confirmed fixed in version 25.3.2.
CVE-2026-40173: CWE-200: Exposure of Sensitive Information to an Unauthorized Actor in dgraph-io dgraph
Description
Dgraph versions 25. 3. 1 and earlier contain a critical vulnerability where an unauthenticated endpoint exposes the full process command line, including the admin token. This token can be extracted by an attacker and used to gain unauthorized administrative access to privileged endpoints, allowing configuration changes and operational control. The vulnerability is fixed in version 25. 3. 2.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Dgraph, an open source distributed GraphQL database, has an unauthenticated credential disclosure vulnerability in versions prior to 25.3.2. The /debug/pprof/cmdline endpoint is accessible without authentication and reveals the full process command line, including the admin token passed via the --security "token=..." startup flag. An attacker can retrieve this token and reuse it in the X-Dgraph-AuthToken header to bypass admin token validation and access admin-only endpoints such as /admin/config/cache_mb. This grants unauthorized privileged administrative access, including configuration and operational control, on any deployment where the Alpha HTTP port is exposed to untrusted parties. The issue is resolved in version 25.3.2.
Potential Impact
An attacker can obtain the admin token without authentication and use it to gain unauthorized administrative access to the Dgraph database. This allows the attacker to perform privileged actions such as changing configurations and controlling operational parameters, potentially compromising the integrity and availability of the database. The vulnerability has a CVSS score of 9.4 (critical), indicating high impact on confidentiality, integrity, and low impact on availability.
Mitigation Recommendations
Upgrade Dgraph to version 25.3.2 or later, where this vulnerability is fixed. Until the upgrade is applied, restrict access to the Alpha HTTP port to trusted parties only to prevent unauthorized access to the vulnerable endpoint. Patch status is confirmed fixed in version 25.3.2.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-09T20:59:17.618Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69dffcc482d89c981f9a5a10
Added to database: 4/15/2026, 9:01:56 PM
Last enriched: 4/15/2026, 9:16:52 PM
Last updated: 4/15/2026, 11:11:23 PM
Views: 9
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.