# CVE-2026-81636: Query-complexity limit bypass via first/last pagination arguments in AshGraphql enables denial of service

- Severity: High 8.7 (CVSS:4.0, scored by EEF) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/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.44%, higher than 39% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-30T18:25:29.776Z
- Modified: 2026-11-25T06:30:10.294Z
- Also known as: EEF-CVE-2026-81636, GHSA-mwc4-r9fc-h6mg
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: EEF

## Description

Allocation of Resources Without Limits or Throttling vulnerability in ash-project ash_graphql allows an unauthenticated client to bypass the configured GraphQL query-complexity limit and force an unbounded database read.

AshGraphql.Graphql.Resolver.query_complexity/3 multiplies child complexity by the requested page size only when the argument map contains :limit (offset pagination). Relay connections and keyset pagination use first and last, which never match that clause and fall through to the catch-all that returns child_complexity + 1. A nested relay query such as posts(first: 500) { edges { node { comments(first: 500) { ... } } } } therefore scores as trivially cheap while materializing the full fan-out, passing an Absinthe max_complexity cap that rejects the equivalent limit-based query. The fix adds first and last clauses clamped to the action's page size.

This issue affects ash_graphql: from 0.16.23 before 1.11.0.

(As written by CVE List.)

## Affected

- ash_graphql: from 0.16.23 before 1.11.0
- ash-project/ash_graphql: from d8a3e1b15587180ad9cb3ceeb398863d086c163b before c3229f6a65cbabb32fd7ffcac881922d1b3b30ad
- ash_graphql (Hex): from 0.16.23 before 1.11.0
- https://github.com/ash-project/ash_graphql: from d8a3e1b15587180ad9cb3ceeb398863d086c163b before c3229f6a65cbabb32fd7ffcac881922d1b3b30ad

## Every score

- EEF: CVSS:4.0 8.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/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:N/VI:N/VA:H/SC:N/SI:N/SA:N`

## References

- <https://github.com/ash-project/ash_graphql/security/advisories/GHSA-mwc4-r9fc-h6mg> (exploit, advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-81636.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-81636> (related)
- <https://github.com/ash-project/ash_graphql/commit/d8a3e1b15587180ad9cb3ceeb398863d086c163b> (related, web)
- <https://github.com/ash-project/ash_graphql/commit/c3229f6a65cbabb32fd7ffcac881922d1b3b30ad> (fix, patch)
- <https://hex.pm/packages/ash_graphql> (package)

## Sources

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

---

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