Security mailing lists by PureSourceCode

CVE-2026-40173

CRITICAL 9.4CVSS 3.1

Dgraph: Unauthenticated /debug/pprof/cmdline discloses admin auth token, enabling unauthorized access to protected Alpha admin endpoints

Dgraph is an open source distributed GraphQL database. Versions 25.3.1 and prior contain an unauthenticated credential disclosure vulnerability where the /debug/pprof/cmdline endpoint is registered on the default mux and reachable without authentication, exposing the full process command line including the admin token configured via the --security "token=..." startup flag. An attacker can retrieve the leaked token and reuse it in the X-Dgraph-AuthToken header to gain unauthorized access to admin-only endpoints such as /admin/config/cache_mb, bypassing the adminAuthHandler token validation. This enables unauthorized privileged administrative access including configuration changes and operational control actions in any deployment where the Alpha HTTP port is reachable by untrusted parties. This issue has been fixed in version 25.3.2.

Published
15 Apr 2026
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-200CWE-215CWE-522
Also known as
GHSA-95mq-xwj4-r47pGO-2026-5274
Sources
NVDJSONOSV GHSA-95mq-xwj4-r47pJSONOSV GO-2026-5274JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 CRITICAL 9.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
OSV GitHub CVSS 3.1 CRITICAL 9.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD dgraph dgraph
cpe:2.3:a:dgraph:dgraph:*:*:*:*:*:go:*:*
< 25.3.2 25.3.2
OSV Go github.com/dgraph-io/dgraph/v25 < 25.3.2 25.3.2
OSV Go github.com/dgraph-io/dgraph/v24 <= 24.1.7
OSV Go github.com/dgraph-io/dgraph <= 1.2.8
OSV Go github.com/dgraph-io/dgraph all versions
OSV Go github.com/hypermodeinc/dgraph/v24 < 24.1.9 24.1.9

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 15 Apr 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 11 Aug 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 16 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.