CRITICAL🇵🇱 Wersja polska

CVE-2026-40173

CVSS 9.4v3.1pub. 2026-04-15upd. 2026-04-25

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.

🤖 AI Analysis
How it works

The /debug/pprof/cmdline endpoint is registered on the default HTTP mux and is accessible without any authentication. It contains the full command line of the process, including the administrative token passed via the --security "token=..." startup flag. An attacker reads this token and passes it in the X-Dgraph-AuthToken header, thereby bypassing the verification performed by adminAuthHandler. This grants access to protected administrative endpoints, such as /admin/config/cache_mb, enabling configuration changes and administrative operations.

Impact

An attacker with network access to the Alpha HTTP port can obtain full, unauthorized administrative privileges, including the ability to modify configuration and perform management operations on the database.

Mitigation & patch

Dgraph should be updated to version 25.3.2, where the issue has been fixed. Until the update is applied, it is recommended to restrict network access to the Alpha HTTP port only to trusted hosts (e.g., through firewall or network rules) to minimize the risk of exposure.

Who is affected

Dgraph in versions 25.3.1 and earlier, in all deployments where the Alpha HTTP port is accessible to untrusted parties.

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
  • Dgraph

    APP
    Dgraph
    < 25.3.2
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
CWE
References

Related vulnerabilities

CVE-2026-41327CRITICAL9.1PL ✓same product

Dgraph — wstrzyknięcie zapytania DQL umożliwia nieautoryzowany odczyt danych

CVE-2026-41328CRITICAL9.1PL ✓same product

DQL injection w Dgraph — nieuwierzytelniony pełny odczyt bazy danych

CVE-2026-41492CRITICAL9.8PL ✓same product

Dgraph: ujawnienie tokenu admina przez endpoint /debug/vars bez uwierzytelnienia

CVE-2026-34976CRITICAL10.0PL ✓same product

Dgraph: nieuwierzytelniony dostęp do mutacji restoreTenant (SSRF, RCE danych)

CVE-2023-31135LOW3.3same product

Dgraph jest otwartym rozproszoną bazą danych GraphQL. Istniejące logi audytu Dgraph są podatne na ataki brute ...