{"id":"CVE-2026-81633","state":"PUBLISHED","title":"Unhandled KeyError in AshGraphql relay node resolution crashes queries via an unknown type segment","description":"Improper Input Validation vulnerability in ash-project ash_graphql allows an unauthenticated client to crash a relay node(id: ...) query with an unhandled KeyError.\n\nAshGraphql.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.","publishedAt":"2026-08-30T18:22:07.096Z","updatedAt":"2026-08-31T15:56:01.954Z","severity":{"score":6.9,"label":"Medium","version":"4.0","vector":"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","source":"EEF"},"assigner":"EEF","products":["ash-project ash_graphql"],"affected":[{"vendor":"ash-project","product":"ash_graphql","packageName":"ash_graphql","packageURL":"pkg:hex/ash_graphql","defaultStatus":"unaffected","versions":[{"version":"0.27.0","status":"affected","lessThan":"1.11.0","versionType":"semver"}],"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:ash-project:ash_graphql:*:*:*:*:*:*:*:*"],"modules":["'Elixir.AshGraphql.Graphql.Resolver'"],"programFiles":["lib/graphql/resolver.ex"],"programRoutines":[{"name":"'Elixir.AshGraphql.Graphql.Resolver':resolve_node/2"}],"repo":"https://github.com/ash-project/ash_graphql"},{"vendor":"ash-project","product":"ash_graphql","packageName":"ash-project/ash_graphql","packageURL":"pkg:github/ash-project/ash_graphql","defaultStatus":"unaffected","versions":[{"version":"365b3aedc6b36f020e6a2c7dce63fa569243bc4e","status":"affected","lessThan":"c8863ed8e5c21f1bfb6125f1d24e78443dfc6351","versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:ash-project:ash_graphql:*:*:*:*:*:*:*:*"],"modules":["'Elixir.AshGraphql.Graphql.Resolver'"],"programFiles":["lib/graphql/resolver.ex"],"programRoutines":[{"name":"'Elixir.AshGraphql.Graphql.Resolver':resolve_node/2"}],"repo":"https://github.com/ash-project/ash_graphql"}],"references":["https://github.com/ash-project/ash_graphql/security/advisories/GHSA-mrgv-g7gf-r96h","https://cna.erlef.org/cves/CVE-2026-81633.html","https://osv.dev/vulnerability/EEF-CVE-2026-81633","https://github.com/ash-project/ash_graphql/commit/c8863ed8e5c21f1bfb6125f1d24e78443dfc6351"],"weaknesses":["CWE-20"],"ingestedAt":"2026-10-29T20:13:15.269Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/81xxx/CVE-2026-81633.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-81633","state":"PUBLISHED","datePublished":"2026-08-30T18:22:07.096Z","dateUpdated":"2026-08-31T15:56:01.954Z","assignerShortName":"EEF","assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateReserved":"2026-08-30T17:15:01.281Z"},"containers":{"cna":{"title":"Unhandled KeyError in AshGraphql relay node resolution crashes queries via an unknown type segment","descriptions":[{"lang":"en","value":"Improper Input Validation vulnerability in ash-project ash_graphql allows an unauthenticated client to crash a relay node(id: ...) query with an unhandled KeyError.\n\nAshGraphql.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."}],"affected":[{"vendor":"ash-project","product":"ash_graphql","packageName":"ash_graphql","packageURL":"pkg:hex/ash_graphql","defaultStatus":"unaffected","versions":[{"version":"0.27.0","status":"affected","lessThan":"1.11.0","versionType":"semver"}],"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:ash-project:ash_graphql:*:*:*:*:*:*:*:*"],"modules":["'Elixir.AshGraphql.Graphql.Resolver'"],"programFiles":["lib/graphql/resolver.ex"],"programRoutines":[{"name":"'Elixir.AshGraphql.Graphql.Resolver':resolve_node/2"}],"repo":"https://github.com/ash-project/ash_graphql"},{"vendor":"ash-project","product":"ash_graphql","packageName":"ash-project/ash_graphql","packageURL":"pkg:github/ash-project/ash_graphql","defaultStatus":"unaffected","versions":[{"version":"365b3aedc6b36f020e6a2c7dce63fa569243bc4e","status":"affected","lessThan":"c8863ed8e5c21f1bfb6125f1d24e78443dfc6351","versionType":"git"}],"collectionURL":"https://github.com","cpes":["cpe:2.3:a:ash-project:ash_graphql:*:*:*:*:*:*:*:*"],"modules":["'Elixir.AshGraphql.Graphql.Resolver'"],"programFiles":["lib/graphql/resolver.ex"],"programRoutines":[{"name":"'Elixir.AshGraphql.Graphql.Resolver':resolve_node/2"}],"repo":"https://github.com/ash-project/ash_graphql"}],"references":[{"url":"https://github.com/ash-project/ash_graphql/security/advisories/GHSA-mrgv-g7gf-r96h","tags":["vendor-advisory","related"]},{"url":"https://cna.erlef.org/cves/CVE-2026-81633.html","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-81633","tags":["related"]},{"url":"https://github.com/ash-project/ash_graphql/commit/c8863ed8e5c21f1bfb6125f1d24e78443dfc6351","tags":["patch"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":6.9,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","description":"CWE-20 Improper Input Validation","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"EEF","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","dateUpdated":"2026-08-30T18:22:07.096Z"},"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:ash-project:ash_graphql:*:*:*:*:*:*:*:*","versionEndExcluding":"1.11.0","versionStartIncluding":"0.27.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}],"credits":[{"lang":"en","type":"finder","value":"Peter Ullrich"},{"lang":"en","type":"reporter","value":"Peter Ullrich"},{"lang":"en","type":"remediation developer","value":"Zach Daniel / Ash Project"},{"lang":"en","type":"coordinator","value":"Jonatan Männchen / EEF"}],"impacts":[{"capecId":"CAPEC-153","descriptions":[{"lang":"en","value":"CAPEC-153 Input Data Manipulation"}]}],"source":{"discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/ash-project/ash_graphql/security/advisories/GHSA-mrgv-g7gf-r96h","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-31T15:55:29.537905Z","id":"CVE-2026-81633","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-31T15:56:01.954Z"}}]}}}