CVE-2026-41492

Dgraph is an open source distributed GraphQL database. Prior to 25.3.3, Dgraphl exposes the process command line through the unauthenticated /debug/vars endpoint on Alpha. Because the admin token is commonly supplied via the --security "token=..." startup flag, an unauthenticated attacker can retrieve that token and replay it in the X-Dgraph-AuthToken header to access admin-only endpoints. This is a variant of the previously fixed /debug/pprof/cmdline issue, but the current fix is incomplete because it blocks only /debug/pprof/cmdline and still serves http.DefaultServeMux, which includes expvar's /debug/vars handler. This vulnerability is fixed in 25.3.3.
Configurations

Configuration 1 (hide)

cpe:2.3:a:dgraph:dgraph:*:*:*:*:*:go:*:*

History

25 Oct 2026, 23:10

Type Values Removed Values Added
Summary
  • (es) Dgraph es una base de datos GraphQL distribuida de código abierto. Antes de la versión 25.3.3, Dgraph expone la línea de comandos del proceso a través del endpoint /debug/vars no autenticado en Alpha. Dado que el token de administrador se suele suministrar a través del flag de inicio --security ’token=...’, un atacante no autenticado puede recuperar ese token y reutilizarlo en el encabezado X-Dgraph-AuthToken para acceder a endpoints solo para administradores. Esta es una variante del problema /debug/pprof/cmdline previamente corregido, pero la solución actual es incompleta porque solo bloquea /debug/pprof/cmdline y aún sirve http.DefaultServeMux, que incluye el gestor /debug/vars de expvar. Esta vulnerabilidad se corrige en la versión 25.3.3.

Information

Published : 2026-04-24 19:17

Updated : 2026-10-25 23:10


NVD link : CVE-2026-41492

Mitre link : CVE-2026-41492

CVE.ORG link : CVE-2026-41492


JSON object : View

Products Affected

dgraph

  • dgraph
CWE
CWE-200

Exposure of Sensitive Information to an Unauthorized Actor