# CVE-2026-81633: Unhandled KeyError in AshGraphql relay node resolution crashes queries via an unknown type segment

- Severity: Medium 6.9 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 34% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-30T18:22:07.096Z
- Modified: 2026-11-25T06:31:03.284Z
- Also known as: EEF-CVE-2026-81633, GHSA-mrgv-g7gf-r96h
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: EEF

## 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.

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.

This issue affects ash_graphql: from 0.27.0 before 1.11.0.

(As written by CVE List.)

## Affected

- ash_graphql: from 0.27.0 before 1.11.0
- ash-project/ash_graphql: from 365b3aedc6b36f020e6a2c7dce63fa569243bc4e before c8863ed8e5c21f1bfb6125f1d24e78443dfc6351
- ash_graphql (Hex): from 0.27.0 before 1.11.0
- https://github.com/ash-project/ash_graphql: from 365b3aedc6b36f020e6a2c7dce63fa569243bc4e before c8863ed8e5c21f1bfb6125f1d24e78443dfc6351

## Every score

- EEF: CVSS:4.0 6.9 Medium `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`
- Erlang Ecosystem Foundation: CVSS:4.0 `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`

## References

- <https://github.com/ash-project/ash_graphql/security/advisories/GHSA-mrgv-g7gf-r96h> (exploit, advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-81633.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-81633> (related)
- <https://github.com/ash-project/ash_graphql/commit/365b3aedc6b36f020e6a2c7dce63fa569243bc4e> (related, web)
- <https://github.com/ash-project/ash_graphql/commit/c8863ed8e5c21f1bfb6125f1d24e78443dfc6351> (fix, patch)
- <https://hex.pm/packages/ash_graphql> (package)

## Sources

- CVE List: [CVE-2026-81633](https://www.cve.org/CVERecord?id=CVE-2026-81633), CVE Terms of Use, modified 2026-11-19
- Erlang Ecosystem Foundation: [EEF-CVE-2026-81633](https://osv.dev/vulnerability/EEF-CVE-2026-81633), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-81633](https://nvd.nist.gov/vuln/detail/CVE-2026-81633), Public domain, modified 2026-11-19

---

Page: https://cve.day/CVE-2026-81633 · Whole record: https://cve.day/CVE-2026-81633.json · Rebuilt by cve.day 2026-11-25T22:59:35.779Z
