CVE-2026-41492
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedDgraph 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceDgraph Alpha exposes the process command line (including the admin token passed via --security flag) through the unauthenticated /debug/vars endpoint. An unauthenticated attacker can retrieve the admin token from the command line arguments and replay it in the X-Dgraph-AuthToken header to access admin-only endpoints. This is an incomplete fix of a previous /debug/pprof/cmdline vulnerability where http.DefaultServeMux still serves expvar's /debug/vars handler.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data< 25.3.3CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify if Dgraph Alpha is runningLook for the dgraph alpha process on the system using process listing tools (ps, tasklist) or check if port 8080 (default HTTP) or 9080 (default gRPC) are open and respondingAffected if Dgraph Alpha is exposed on a network-accessible port without proper firewalling
-
Determine the installed Dgraph versionRun 'dgraph version' or check the Dgraph binary version, or query the /health endpoint if available, then compare against the affected range of < 25.3.3Affected if The installed version is lower than 25.3.3
-
Check if the /debug/vars endpoint is accessibleSend an HTTP GET request to http://<dgraph-host>:<port>/debug/vars without any authentication headersAffected if The endpoint returns a response without requiring authentication (401/403 is not returned)
-
Inspect the /debug/vars output for sensitive dataExamine the JSON response from /debug/vars for keys like 'cmdline', 'Args', or similar fields that contain command-line arguments; look for patterns matching '--security token=...' or 'token=' in the exposed argumentsAffected if The /debug/vars output contains command-line arguments that include the security token value supplied via --security flag
A user is affected if Dgraph version is below 25.3.3 AND the /debug/vars endpoint is network-accessible without authentication AND the output exposes command-line arguments containing the security token.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped25.3.3
Upgrade Dgraph to version 25.3.3 or later to patch the /debug/vars endpoint exposure. Additionally, restrict network access to debug endpoints.
25.3.3
- 1. Back up your Dgraph data and configuration files before upgrading
- 2. Stop the Dgraph Alpha and any running Dgraph services
- 3. Upgrade Dgraph to version 25.3.3 or later using your package manager or by downloading the new release from the official Dgraph GitHub releases page
- 4. Ensure the --security flag no longer passes the admin token directly as a command-line argument; instead, use environment variables or a configuration file if possible
- 5. Restart the Dgraph Alpha service with the updated version
- 6. Verify that the /debug/vars endpoint is no longer accessible or no longer exposes sensitive information by testing it from an unauthenticated context
- 7. Confirm admin functionality works correctly with the X-Dgraph-AuthToken header
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation3.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,040.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-41492 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-41492 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data