1. Archivio CVE
  2. 2026
  3. CVE-2026-40173

CVE-2026-40173

9.4 Gravità critica CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L 9.4 – Critica

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
dgraph dgraph < 25.3.2 go

Tipo di vulnerabilità

CWE-522 Credenziali protette in modo insufficiente

Il prodotto trasmette o conserva credenziali di autenticazione con un metodo insicuro, che ne permette l’intercettazione o il recupero da parte di terzi.

Impatto sui sistemi

AmbitoImpatto
Controllo degli accessi Ottenere privilegi o assumere un’altra identità

Come si previene

Architettura e progettazione Use an appropriate security mechanism to protect the credentials.
Architettura e progettazione Make appropriate use of cryptography to protect the credentials.
Sviluppo Use industry standards to protect the credentials (e.g. LDAP, keystore, etc.).

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 1.440 CVE di tipo CWE-522, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org