ADVISORIES

Go Vulnerability Database

GO-2026-5675

Unauthenticated admin token disclosure via /debug/vars in github.com/dgraph-io/dgraph

Details

The /debug/vars endpoint in Dgraph Alpha discloses the administrator's authentication token without requiring authentication. This allows an unauthenticated remote attacker to obtain the token and gain full administrative access to the Dgraph cluster.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/dgraph-io/dgraph
All versions, no fix listed
Gogithub.com/dgraph-io/dgraph/v25
All versions before 25.3.3 (fixed in 25.3.3)
Gogithub.com/hypermodeinc/dgraph/v24
All versions before 24.1.9 (fixed in 24.1.9)

References