{"schemaVersion":3,"id":"CVE-2026-34976","aliases":["CGA-437v-h7rj-3fr9","CGA-q4h9-4rqg-2phq","GHSA-p5rh-vmhp-gvcw","GO-2026-5529"],"status":"published","duplicateOf":null,"title":null,"description":"Dgraph is an open source distributed GraphQL database. Prior to 25.3.1, the restoreTenant admin mutation is missing from the authorization middleware config (admin.go), making it completely unauthenticated. Unlike the similar restore mutation which requires Guardian-of-Galaxy authentication, restoreTenant executes with zero middleware. This mutation accepts attacker-controlled backup source URLs (including file:// for local filesystem access), S3/MinIO credentials, encryption key file paths, and Vault credential file paths. An unauthenticated attacker can overwrite the entire database, read server-side files, and perform SSRF. This vulnerability is fixed in 25.3.1.","dates":{"published":"2026-04-06T16:12:43.596Z","modified":"2026-04-07T16:00:19.660Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":10,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":10,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":10,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","exploitability":10,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":10,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","exploitability":10,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":10,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","exploitability":10,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":10,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01655,"percentile":0.7639,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":-0.3810000000000001,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.02036},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02036,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02036,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02036,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02036,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02036,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02036,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02036,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02036,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02036,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02036,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.01655,"percentile":0.7639}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.02036,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02036,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01655,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.01655,"percentile":0.7639}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_DGRAPH-IO_DGRAPH","name":"Dgraph","source":"github","url":"https://github.com/dgraph-io/dgraph/security/advisories/GHSA-p5rh-vmhp-gvcw","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-862","name":"Missing Authorization","description":"The product does not perform an authorization check when an actor attempts to access a resource or perform an action.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/862.html"}],"affected":[{"vendor":"chainguard","product":"dgraph","name":"dgraph","label":"dgraph","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/dgraph","purlType":"apk","versions":[{"text":"< 25.3.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 25.3.1-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"dgraph","name":"dgraph","label":"dgraph","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/dgraph","purlType":"apk","versions":[{"text":"< 25.3.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 25.3.1-r0","eol":null,"hubHref":null},{"vendor":"dgraph-io","product":"dgraph","name":"dgraph","label":"dgraph","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 25.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 25.3.1","eol":null,"hubHref":"/vendor/dgraph-io/dgraph"},{"vendor":"dgraph","product":"dgraph","name":"dgraph","label":"dgraph","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 25.3.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 25.3.0","eol":null,"hubHref":"/vendor/dgraph/dgraph"},{"vendor":"github.com/dgraph-io","product":"dgraph","name":"github.com/dgraph-io/dgraph","label":"dgraph","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/dgraph-io/dgraph","purlType":"golang","versions":[{"text":"≤ 1.2.8","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"≤ 1.2.8 | All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"github.com/dgraph-io/dgraph","product":"v24","name":"github.com/dgraph-io/dgraph/v24","label":"v24","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/dgraph-io/dgraph/v24","purlType":"golang","versions":[{"text":"≤ 24.0.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 24.0.5","eol":null,"hubHref":null},{"vendor":"github.com/dgraph-io/dgraph","product":"v25","name":"github.com/dgraph-io/dgraph/v25","label":"v25","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/dgraph-io/dgraph/v25","purlType":"golang","versions":[{"text":"< 25.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 25.3.1","eol":null,"hubHref":null},{"vendor":"github.com/hypermodeinc/dgraph","product":"v24","name":"github.com/hypermodeinc/dgraph/v24","label":"v24","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/hypermodeinc/dgraph/v24","purlType":"golang","versions":[{"text":"≥ 24.0.0, < 24.1.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 24.0.0, < 24.1.6","eol":null,"hubHref":null}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/dgraph-io/dgraph/security/advisories/GHSA-p5rh-vmhp-gvcw","label":"github.com/dgraph-io/dgraph/security/advisories/GHSA-p5rh-vmhp-gvcw","hostname":"github.com","tags":["X Refsource CONFIRM","Advisory","WEB","Exploit","Vendor Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34976.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34976.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34976","label":"nvd.nist.gov/vuln/detail/CVE-2026-34976","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/dgraph-io/dgraph/commit/b15c87e9353e36618bf8e0df3bd945c0ce7105ef","label":"github.com/dgraph-io/dgraph/commit/b15c87e9353e36618bf8e0df3bd945c0ce7105ef","hostname":"github.com","tags":["WEB","FIX"]},{"url":"https://github.com/dgraph-io/dgraph","label":"github.com/dgraph-io/dgraph","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/dgraph-io/dgraph/releases/tag/v25.3.1","label":"github.com/dgraph-io/dgraph/releases/tag/v25.3.1","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:21761-1","SUSE-SU-2026:23625-1"],"duplicates":[],"related":["CGA-JQ28-VF2G-54H9","OPENSUSE-SU-2026:21761-1","SUSE-SU-2026:23625-1"]},"timeline":[{"kind":"published","date":"2026-04-06T16:12:43.596Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-04-07T16:00:19.660Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":90,"level":"critical","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T14:32:30.986Z","stale":false,"partial":false}}