{"answers":{"affected":"9 open source packages ship an affected version, including github.com/dgraph-io/dgraph, github.com/dgraph-io/dgraph/v24 and github.com/dgraph-io/dgraph/v25. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-41492 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2026-41492 is a critical vulnerability in dgraph-io dgraph, published on 24 Apr 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-41492 and fix it if it is affected.\n\nWhat it is: CVE-2026-41492 is a critical vulnerability in dgraph-io dgraph, published on 24 Apr 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-41492 exists.\n\nAffected packages and fixed versions:\n- github.com/dgraph-io/dgraph (Go): affected all versions; no fix listed\n- github.com/dgraph-io/dgraph (Go): affected all versions up to 1.2.8; no fix listed\n- github.com/dgraph-io/dgraph (Go): affected all versions up to 1.2.8; no fix listed\n- github.com/dgraph-io/dgraph/v24 (Go): affected all versions up to 24.1.8; no fix listed\n- github.com/dgraph-io/dgraph/v24 (Go): affected all versions up to 24.1.8; no fix listed\n- github.com/dgraph-io/dgraph/v25 (Go): affected all versions; fixed in 25.3.3\n- github.com/dgraph-io/dgraph/v25 (Go): affected all versions; fixed in 25.3.3\n- github.com/dgraph-io/dgraph/v25 (Go): affected all versions; fixed in 25.3.3\n- github.com/hypermodeinc/dgraph/v24 (Go): affected all versions; fixed in 24.1.9\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-41492/ (Markdown: https://insights.sbomify.com/CVE-2026-41492/index.md)","id":"CVE-2026-41492","markdown":"https://insights.sbomify.com/CVE-2026-41492/index.md","name":"CVE-2026-41492","record":{"aliases":["GHSA-vvf7-6rmr-m29q","GO-2026-5675"],"analysis":{"component_type":"database","fix_type":"upgrade","impacts":["data_read","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Dgraph database","requires_auth":"none","summary":"Unauthenticated attackers can retrieve admin tokens from the /debug/vars endpoint to bypass authentication and access admin-only features in Dgraph.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"dgraph","vendor":"dgraph"}],"cvss":{"score":9.8,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"Dgraph is an open source distributed GraphQL database. Prior to 25.3.3, Dgraphl exposes the process command line through the unauthenticated /debug/vars endpoint on Alpha. Because the admin token is commonly supplied via the --security \"token=...\" startup flag, an unauthenticated attacker can retrieve that token and replay it in the X-Dgraph-AuthToken header to access admin-only endpoints. This is a variant of the previously fixed /debug/pprof/cmdline issue, but the current fix is incomplete because it blocks only /debug/pprof/cmdline and still serves http.DefaultServeMux, which includes expvar's /debug/vars handler. This vulnerability is fixed in 25.3.3.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2026/CVE-2026-41492.yaml","stars":null,"title":"Dgraph \u003c= 25.3.2 - Admin Token Disclosure"}],"tier":"weaponised"},"has_fix":true,"headline":"Unauthenticated Admin Token Disclosure Leading to Authentication Bypass via /debug/vars in Dgraph","id":"CVE-2026-41492","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":9,"n_references":2,"next":{"headline":"yard: Possible arbitrary path traversal and file access via yard server","id":"CVE-2026-41493"},"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-5675"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["1.2.8"],"package":"github.com/dgraph-io/dgraph","purl":null,"source":"GHSA-vvf7-6rmr-m29q"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["1.2.8"],"package":"github.com/dgraph-io/dgraph","purl":"pkg:golang/github.com/dgraph-io/dgraph","source":"GHSA-vvf7-6rmr-m29q"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["24.1.8"],"package":"github.com/dgraph-io/dgraph/v24","purl":null,"source":"GHSA-vvf7-6rmr-m29q"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["24.1.8"],"package":"github.com/dgraph-io/dgraph/v24","purl":"pkg:golang/github.com/dgraph-io/dgraph/v24","source":"GHSA-vvf7-6rmr-m29q"},{"ecosystem":"Go","fixed":["25.3.3"],"introduced":["0"],"last_affected":[],"package":"github.com/dgraph-io/dgraph/v25","purl":null,"source":"GHSA-vvf7-6rmr-m29q"},{"ecosystem":"Go","fixed":["25.3.3"],"introduced":["0"],"last_affected":[],"package":"github.com/dgraph-io/dgraph/v25","purl":"pkg:golang/github.com/dgraph-io/dgraph/v25","source":"GHSA-vvf7-6rmr-m29q"},{"ecosystem":"Go","fixed":["25.3.3"],"introduced":["0"],"last_affected":[],"package":"github.com/dgraph-io/dgraph/v25","purl":"pkg:golang/github.com/dgraph-io/dgraph/v25","source":"GO-2026-5675"},{"ecosystem":"Go","fixed":["24.1.9"],"introduced":["0"],"last_affected":[],"package":"github.com/hypermodeinc/dgraph/v24","purl":"pkg:golang/github.com/hypermodeinc/dgraph/v24","source":"GO-2026-5675"}],"prev":{"headline":"Dapr: Service Invocation path traversal ACL bypass","id":"CVE-2026-41491"},"products":["dgraph"],"published":"2026-04-24","related":[{"cvss_score":10,"headline":"Dgraph Affected by Pre-Auth Database Overwrite + SSRF + File Read via restoreTenant Missing Authorization","id":"CVE-2026-34976","kev_date_added":null,"published":"2026-04-06"},{"cvss_score":9.4,"headline":"Dgraph: Unauthenticated pprof endpoint leaks admin auth token","id":"CVE-2026-40173","kev_date_added":null,"published":"2026-04-15"},{"cvss_score":9.1,"headline":"Dgraph: Pre-Auth Full Database Exfiltration via DQL Injection in Upsert Condition Field","id":"CVE-2026-41327","kev_date_added":null,"published":"2026-04-24"},{"cvss_score":9.1,"headline":"Dgraph: Pre-Auth Full Database Exfiltration via DQL Injection in NQuad Lang Field","id":"CVE-2026-41328","kev_date_added":null,"published":"2026-04-24"},{"cvss_score":3.3,"headline":"Dgraph Audit Log Encryption nonce reuse","id":"CVE-2023-31135","kev_date_added":null,"published":"2023-05-17"}],"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":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-04-24","vendors":["dgraph-io"]},"summary":"Unauthenticated attackers can retrieve admin tokens from the /debug/vars endpoint to bypass authentication and access admin-only features in Dgraph.","url":"https://insights.sbomify.com/CVE-2026-41492/"}