CVE-2026-81636

Vulnérabilité élevée dans ash_graphql (ash-project)

CVSS 8.7 · Élevée
EPSS 0.5%
ash-project•ash_graphql•Versions : <c3229f6a65cbabb32fd7ffcac881922d1b3b30ad, 0.16.23, d8a3e1b15587180ad9cb3ceeb398863d086c163b, <1.11.0

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.

Gravité et risque d'exploitation

CVE-2026-81636 obtient un score CVSS de 8.7/10, soit une gravité élevée. Selon le modèle EPSS, la probabilité qu'elle soit exploitée dans les 30 prochains jours est de 0.55 %, ce qui la place devant 44.9 % des CVE référencées.

Que faire ?

  • Vérifiez si ash_graphql (versions <c3229f6a65cbabb32fd7ffcac881922d1b3b30ad, 0.16.23, d8a3e1b15587180ad9cb3ceeb398863d086c163b, <1.11.0) est présent sur votre parc.
  • Appliquez le correctif ou la version corrigée indiqués dans les références de l'éditeur.
  • À défaut de correctif, limitez l'exposition (filtrage réseau, désactivation du composant).
  • Automatisez la détection : les agents CVE Heimdall (gratuits, open source) corrèlent l'inventaire de vos serveurs avec la base CVE.

Références