Skip to main content

Dgraph EUVDEUVD-2026-25599

| CVE-2026-41492 CRITICAL
Information Exposure (CWE-200)
2026-04-24 https://github.com/dgraph-io/dgraph GHSA-vvf7-6rmr-m29q
9.8
CVSS 3.1 · Vendor: https://github.com/dgraph-io/dgraph
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Network scan for port 8080
  2. Delivery
    Unauthenticated GET /debug/vars
  3. Exploit
    Parse JSON cmdline field
  4. Install
    Extract --security token value
  5. C2
    Replay token in X-Dgraph-AuthToken header
  6. Execute
    Access admin endpoints
  7. Impact
    Execute privileged operations

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK

2 techniques across 2 tactics: Collection, Discovery

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Remote unauthenticated exploitation against default configurations of Dgraph Alpha v25.3.2 and earlier when the admin token is configured via the --security token= command-line flag. The /debug/vars endpoint is exposed by default through Go's http.DefaultServeMux without authentication checks. Attack success does NOT require non-default configurations-the vulnerable expvar handler registers automatically when the metrics package is imported. Limiting factors: (1) The Alpha HTTP port (typically 8080) must be network-reachable by the attacker-deployments with Alpha nodes isolated on internal networks are protected by network segmentation. (2) Admin token must be passed via command-line flag rather than environment variable or config file, though command-line configuration is the documented and commonly deployed method, especially in Docker containers. (3) The incomplete previous fix specifically blocks only /debug/pprof/cmdline, leaving /debug/vars exploitable-this is default behavior in v25.3.2 and earlier. No user interaction, special headers, or authenticated session required.

Impact

Real-world risk is CRITICAL for internet-facing Dgraph deployments. The CVSS 9.8 score accurately reflects exploitability: network attack vector (AV:N), low complexity (AC:L), no privileges required (PR:N), no user interaction (UI:N), with full impact to confidentiality, integrity, and availability (C:H/I:H/A:H). Attack complexity is genuinely low-the proof-of-concept requires only two HTTP requests (GET /debug/vars, then replay token to /admin endpoint). No EPSS or CISA KEV data provided, but the detailed public PoC in the GitHub advisory significantly lowers exploitation barriers. The vulnerability is a practical authentication bypass rather than theoretical-it grants complete admin access in default configurations where debug endpoints remain enabled and the token is passed via command-line (a common deployment pattern, especially in Docker containers per the tags). Mitigating factors: requires the Alpha HTTP port to be network-reachable by attackers, and depends on administrators using the --security token= flag rather than environment variables or config files. However, command-line token configuration is documented in official examples and widely deployed. The incomplete fix pattern (blocking one path while leaving related vectors exposed) suggests potential for additional variants. Priority should be IMMEDIATE for any Dgraph deployment with network-exposed Alpha ports running versions prior to v25.3.3.

Exploit ScenarioDerived

An attacker scans for internet-exposed Dgraph Alpha instances on port 8080 and sends an unauthenticated HTTP GET request to /debug/vars. The server responds with JSON containing the cmdline field showing startup arguments including --security token=production-admin-secret. The attacker extracts the token value and crafts a second request to /admin/config/cache_mb with the X-Dgraph-AuthToken: production-admin-secret header. Dgraph validates this header against its configured token, grants admin access, and returns sensitive configuration data. The attacker now has full administrative control to read schemas, modify configurations, or execute privileged operations. Proof-of-concept code demonstrating this exact sequence exists in the public GitHub advisory.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 24, 2026

Unauthenticated attackers can steal admin tokens from Dgraph Alpha v25.3.2 and earlier via the exposed /debug/vars endpoint, enabling complete authentication bypass to administrative functions. The vulnerability exists because Dgraph incompletely fixed a previous cmdline exposure issue-blocking only /debug/pprof/cmdline while still serving Go's expvar handler at /debug/vars, which publishes the full command-line arguments including --security token= flags. Attackers can retrieve the token remotely without authentication (CVSS AV:N/PR:N) and replay it in X-Dgraph-AuthToken headers to access admin-only endpoints. Vendor patch released in v25.3.3 per GitHub advisory GHSA-vvf7-6rmr-m29q. No public exploit identified at time of analysis, but detailed proof-of-concept steps are published in the advisory.

RemediationAI

Upgrade immediately to Dgraph v25.3.3 released at https://github.com/dgraph-io/dgraph/releases/tag/v25.3.3, which addresses the /debug/vars exposure. For deployments that cannot immediately upgrade, implement these compensating controls in order of effectiveness: (1) Configure admin tokens via environment variables or configuration files instead of command-line flags to prevent leakage through cmdline exposure-note this requires application restart and deployment automation changes. (2) Block external access to all /debug/* paths at the network perimeter (firewall, reverse proxy, ingress controller) using path-based filtering rules-this prevents token leakage but does not fix the underlying exposure and may impact legitimate debugging workflows. (3) Restrict Alpha HTTP port (default 8080) to trusted internal networks only via firewall rules-this reduces attack surface but breaks any legitimate external API access. (4) Deploy Alpha nodes behind authentication-enforcing reverse proxies that strip /debug/* requests before reaching Dgraph-adds architectural complexity and latency. Each workaround trades operational convenience or functionality for security. Only the vendor patch (v25.3.3) comprehensively resolves the issue. Verify remediation by confirming GET /debug/vars returns 404 or 403 after upgrade.

Affected VersionsENISA

dgraph < 25.3.3

Affected Packages

go github.com/dgraph-io/dgraph no fix
go github.com/dgraph-io/dgraph/v24 no fix
go github.com/dgraph-io/dgraph/v25 fix: 25.3.3
go github.com/hypermodeinc/dgraph/v24 fix: 24.1.9
euvd dgraph fix: 25.3.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 5 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Dgraph is a distributed graph database written in Go. The vulnerability stems from incomplete remediation of a previous information disclosure issue. Dgraph's Alpha component (the data-serving node) imports Go's expvar package for metrics collection, which automatically registers the /debug/vars HTTP handler on the default ServeMux. This handler exposes runtime diagnostics including os.Args (command-line arguments) in JSON format. While developers blocked the previously exploited /debug/pprof/cmdline path with a hardcoded 404 check, they continued serving http.DefaultServeMux for all other paths, leaving expvar's /debug/vars endpoint exposed. The root cause falls under CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor) because the application leaks authentication credentials through a debug interface. Affected CPE identifiers include pkg:go/github.com_dgraph-io_dgraph across v24.x and v25.x branches. The authentication mechanism in dgraph/cmd/alpha/admin.go validates admin requests by comparing the X-Dgraph-AuthToken header against worker.Config.AuthToken, which is typically set via the --security token= startup flag-the same flag exposed in /debug/vars.

Know when Docker gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/dgraph-io/dgraph) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
SUSE CRITICAL

Primary rating from Vendor (https://github.com/dgraph-io/dgraph).

CVSS VectorVendor: https://github.com/dgraph-io/dgraph

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Patch released
Apr 28, 2026 - 18:28 nvd
Patch available
Patch available
Apr 24, 2026 - 20:17 EUVD
CVE Published
Apr 24, 2026 - 16:15 nvd
CRITICAL 9.8

DescriptionCVE.org

Summary

Dgraph v25.3.2 still 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.

Details

Alpha still exposes Go's default HTTP mux:

  • x/metrics.go
  • imports expvar
  • initializes Conf = expvar.NewMap("dgraph_config")
  • Go's expvar package automatically registers /debug/vars
  • expvar publishes:
  • cmdline = os.Args
  • memstats = runtime.Memstats

Alpha's HTTP handler explicitly blocks only the old CVE path:

  • dgraph/cmd/alpha/run.go
  • checks if r.URL.Path == "/debug/pprof/cmdline" and returns 404
  • otherwise falls through to http.DefaultServeMux.ServeHTTP(w, r)

Admin endpoints still trust the leaked token:

  • dgraph/cmd/alpha/admin.go
  • reads X-Dgraph-AuthToken
  • compares it to worker.Config.AuthToken

PoC

  1. Send an unauthenticated request to Alpha:
http
GET /debug/vars HTTP/1.1
Host: target:8080
  1. Parse the JSON response and read the cmdline field.
  2. Extract the admin token from the startup arguments, for example:
text
--security token=debug-vars-secret;
  1. Replay the token to an admin-only endpoint:
http
GET /admin/config/cache_mb HTTP/1.1
Host: target:8080
X-Dgraph-AuthToken: debug-vars-secret
  1. The request is accepted as an authorized admin request.

This was reproduced against dgraph/dgraph:v25.3.2 in Docker.

Observed behavior:

  • unauthenticated /debug/vars leaked the configured token
  • replaying the leaked token in X-Dgraph-AuthToken successfully accessed /admin/config/cache_mb
  • response body was:
text
4096

It was verified that the old CVE path appears specifically patched in the same version:

  • /debug/pprof/cmdline returned 404 Not Found
  • /debug/pprof/ remained reachable

Impact

Unauthenticated attackers can obtain the Alpha admin token and gain unauthorized administrative access.

This enables privileged admin operations such as:

  • reading privileged admin configuration
  • mutating admin configuration
  • performing operational control actions gated by X-Dgraph-AuthToken

In deployments where the Alpha HTTP port is reachable by untrusted parties, this is a practical authentication bypass to admin functionality.

Executive ViewAI

Why It Matters

Dgraph Alpha versions 25.3.2 and earlier expose administrative authentication tokens through an unauthenticated endpoint, allowing remote attackers to bypass all authentication controls and gain complete administrative access to the database. Organizations running affected Dgraph deployments face immediate risk of unauthorized data access, modification, and system compromise without authentication barriers.

Business Impact: Severe
Compensating Controls

Vendor-released patch: v25.3.3. If patch deployment is delayed: (1) Restrict network access to /debug/* endpoints at firewall/WAF layer to internal networks only; (2) Monitor HTTP access logs for GET requests to /debug/vars from external sources; (3) Implement rate-limiting on /debug/ paths; (4) Immediately rotate administrative tokens and monitor for unauthorized token replay attempts in authentication logs.

Threat Intelligence Overview

EPSS Score
0.1%
Top 82% exploitable
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA POC (1) Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

69
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Docker

View all
CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2019-5736 HIGH POC
8.6 Feb 11

runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac

CVE-2023-32077 HIGH POC
7.5 Aug 24

Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2023-5815 HIGH POC
8.1 Nov 22

The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post

CVE-2026-66384 MEDIUM POC
5.3 Aug 12

Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten

CVE-2014-9357 CRITICAL
10.0 Dec 16

Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build

CVE-2026-52806 CRITICAL POC
9.9 Jun 23

Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config

CVE-2025-14707 HIGH POC
8.9 Dec 15

Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system

CVE-2026-56274 HIGH POC
8.7 Jun 23

Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per

CVE-2026-34156 CRITICAL POC
9.9 Mar 30

Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l

CVE-2019-15752 HIGH POC
7.8 Aug 28

Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c

Vendor StatusVendor

SUSE

Severity: Critical
Product Status
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP5 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP6 Affected
openSUSE Leap 15.5 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy