{"answers":{"affected":"4 open source packages ship an affected version, including github.com/dgraph-io/dgraph/v25 and github.com/dgraph-io/dgraph.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-54061 exists.","fix":"Upgrade github.com/dgraph-io/dgraph/v25 to 25.3.5 or later.","what":"CVE-2026-54061 is a critical missing authorization vulnerability in dgraph-io dgraph, published on 8 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-54061 and fix it if it is affected.\n\nWhat it is: CVE-2026-54061 is a critical missing authorization vulnerability in dgraph-io dgraph, published on 8 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-54061 exists.\n\nAffected packages and fixed versions:\n- github.com/dgraph-io/dgraph/v25 (Go): affected all versions; fixed in 25.3.5\n- github.com/dgraph-io/dgraph/v25 (Go): affected all versions; fixed in 25.3.5\n- github.com/dgraph-io/dgraph/v25 (Go): affected all versions; fixed in 25.3.5\n- github.com/dgraph-io/dgraph (Go): affected all versions; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-54061/ (Markdown: https://insights.sbomify.com/CVE-2026-54061/index.md)","id":"CVE-2026-54061","markdown":"https://insights.sbomify.com/CVE-2026-54061/index.md","name":"CVE-2026-54061","record":{"aliases":["GHSA-rrwh-6jrq-wp5v","GO-2026-6261"],"analysis":{"component_type":"database","fix_type":"upgrade","impacts":["data_modify","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Dgraph database","requires_auth":"none","summary":"Unauthenticated attackers can replace Dgraph Alpha group stores via external snapshot import, leading to data loss and potential privilege escalation.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.1,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"}],"description":"Dgraph is an open source distributed GraphQL database. Prior to version 25.3.5, Dgraph Alpha exposes the RPCs used for external snapshot import on the public gRPC port `:9080` without authentication or authorization. As a result, an unauthenticated network client can open `StreamExtSnapshot` and send Badger stream data to the target group’s store. In addition, the receiver calls `Prepare()` before processing the stream. This operation deletes and replaces the existing DB data. Version 25.3.5 patches the issue.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Dgraph Alpha group stores can be replaced via unauthenticated external snapshot import","id":"CVE-2026-54061","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"missing_authorization","year":"2026"},"n_packages":4,"n_references":2,"next":{"headline":"Excelize: Unbounded Row Index Allocation in Worksheet Parser (checkSheet OOM/Panic DoS)","id":"CVE-2026-54063"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/dgraph-io/dgraph","purl":"pkg:golang/github.com/dgraph-io/dgraph","source":"GO-2026-6261"},{"ecosystem":"Go","fixed":["25.3.5"],"introduced":["0"],"last_affected":[],"package":"github.com/dgraph-io/dgraph/v25","purl":null,"source":"GHSA-rrwh-6jrq-wp5v"},{"ecosystem":"Go","fixed":["25.3.5"],"introduced":["0"],"last_affected":[],"package":"github.com/dgraph-io/dgraph/v25","purl":"pkg:golang/github.com/dgraph-io/dgraph/v25","source":"GHSA-rrwh-6jrq-wp5v"},{"ecosystem":"Go","fixed":["25.3.5"],"introduced":["0"],"last_affected":[],"package":"github.com/dgraph-io/dgraph/v25","purl":"pkg:golang/github.com/dgraph-io/dgraph/v25","source":"GO-2026-6261"}],"prev":{"headline":"Pillow: `FontFile.compile()`: `Image.new()` called without `_decompression_bomb_check()`","id":"CVE-2026-54060"},"products":["dgraph"],"published":"2026-07-08","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-07-08","vendors":["dgraph-io"]},"summary":"Unauthenticated attackers can replace Dgraph Alpha group stores via external snapshot import, leading to data loss and potential privilege escalation.","url":"https://insights.sbomify.com/CVE-2026-54061/"}