{"id":"EEF-CVE-2026-81633","summary":"Unhandled KeyError in AshGraphql relay node resolution crashes queries via an unknown type segment","details":"## Summary\n\nImproper Input Validation vulnerability in ash-project ash_graphql allows an unauthenticated client to crash a relay `node(id: ...)` query with an unhandled `KeyError`.\n\n`AshGraphql.Graphql.Resolver.resolve_node/2` decodes the client-supplied global ID with `decode_relay_id/1`, which only base64-decodes the string and splits it on `:` without validating the type segment. The decoded type is passed straight to `Map.fetch!(type_to_domain_and_resource_map, type)`. Because `fetch!` raises on a missing key, a relay ID whose type segment is a valid atom that is not a relay-exposed type aborts the resolver before its `resolve/2` clauses and their `rescue` handlers run, so the error never becomes a GraphQL error and may expose a stacktrace. Common resource names are easy to guess. The fix uses `Map.fetch/2` and returns an `Invalid node id` error for unknown types.\n\nThis issue affects ash_graphql: from 0.27.0 before 1.11.0.","aliases":["CVE-2026-81633","GHSA-mrgv-g7gf-r96h"],"modified":"2026-09-08T20:30:03.505157586Z","published":"2026-08-30T18:22:07.096Z","database_specific":{"cwe_ids":["CWE-20"],"capec_ids":["CAPEC-153"],"cpe_ids":["cpe:2.3:a:ash-project:ash_graphql:*:*:*:*:*:*:*:*"]},"references":[{"type":"ADVISORY","url":"https://github.com/ash-project/ash_graphql/security/advisories/GHSA-mrgv-g7gf-r96h"},{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-81633.html"},{"type":"FIX","url":"https://github.com/ash-project/ash_graphql/commit/c8863ed8e5c21f1bfb6125f1d24e78443dfc6351"},{"type":"PACKAGE","url":"https://hex.pm/packages/ash_graphql"}],"affected":[{"package":{"name":"ash_graphql","ecosystem":"Hex","purl":"pkg:hex/ash_graphql"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.27.0"},{"fixed":"1.11.0"}]}],"versions":["0.27.0","0.27.1","0.28.0","0.28.1","1.0.0","1.0.0-rc.0","1.0.0-rc.1","1.0.0-rc.2","1.0.0-rc.3","1.0.0-rc.4","1.0.0-rc.5","1.0.1","1.1.0","1.1.1","1.10.0","1.10.1","1.2.0","1.2.1","1.3.0","1.3.1","1.3.2","1.3.3","1.3.4","1.4.0","1.4.1","1.4.2","1.4.3","1.4.4","1.4.5","1.4.6","1.4.7","1.5.0","1.5.1","1.6.0","1.7.0","1.7.1","1.7.10","1.7.11","1.7.12","1.7.13","1.7.14","1.7.15","1.7.16","1.7.17","1.7.2","1.7.3","1.7.4","1.7.5","1.7.6","1.7.7","1.7.8","1.7.9","1.8.0","1.8.1","1.8.2","1.8.3","1.8.4","1.8.5","1.9.0","1.9.1","1.9.2","1.9.3","1.9.4"],"database_specific":{"source":"https://cna.erlef.org/osv/EEF-CVE-2026-81633.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/ash-project/ash_graphql","events":[{"introduced":"365b3aedc6b36f020e6a2c7dce63fa569243bc4e"},{"fixed":"c8863ed8e5c21f1bfb6125f1d24e78443dfc6351"}]}],"versions":["v1.10.1","v1.10.0","v1.9.4","v1.9.3","v1.9.2","v1.9.1","v1.9.0","v1.8.5","v1.8.4","v1.8.3","v1.8.2","v1.8.1","v1.8.0","v1.7.17","v1.7.16","v1.7.15","v1.7.14","v1.7.13","v1.7.12","v1.7.11","v1.7.10","v1.7.9","v1.7.8","v1.7.7","v1.7.6","v1.7.5","v1.7.4","v1.7.3","v1.7.2","v1.7.1","v1.7.0","v1.6.0","v1.5.1","v1.5.0","v1.4.7","v1.4.6","v1.4.4","v1.4.3","v1.4.2","v1.4.1","v1.4.0","v1.3.4","v1.3.3","v1.3.2","v1.3.1","v1.3.0","v1.2.1","v1.1.1","v1.0.1","v1.0.0","1.0.0","v1.0.0-rc.5","v1.0.0-rc.4","v1.0.0-rc.3","v1.0.0-rc.2","v0.28.0","v1.0.0-rc.1","v1.0.0-rc.0","v0.27.1","v0.27.0"],"database_specific":{"source":"https://cna.erlef.org/osv/EEF-CVE-2026-81633.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"}],"credits":[{"name":"Peter Ullrich","type":"FINDER"},{"name":"Peter Ullrich","type":"REPORTER"},{"name":"Zach Daniel / Ash Project","type":"REMEDIATION_DEVELOPER"},{"name":"Jonatan Männchen / EEF","type":"COORDINATOR"}]}