CVE-2026-82564

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

CVSS 7.1 · Élevée
EPSS 0.5%
ash-project•ash_ai•Versions : <1.0.0, <87f616d5bfbf7af43346f0701ae17f853789a602, bc2122f78fca6c11d8ec2b9ac53148ec17476460, 0.6.0

Description

Authorization Bypass Through User-Controlled Key vulnerability in ash-project ash_ai allows a caller of an identity-configured tool to update or destroy records it never identified, including every row in the table. In AshAi.Tool.Execution, identity_filter/3 built the update/destroy filter directly from the raw tool arguments as [{key, Map.get(arguments, to_string(key))}] and passed it to Ash.Query.do_filter/2. A map value is parsed as a predicate expression rather than a literal, so a caller can send {"public_ref": {"not_eq": "<own-ref>"}} and, combined with Ash.Query.limit(1) and Ash.bulk_update!/Ash.bulk_destroy!, retarget the write at a record it never identified; an omitted key yields an IS NULL filter that matches an arbitrary row. The fix casts each identity value to the field type, rejecting non-scalar inputs. This issue affects ash_ai: from 0.6.0 before 1.0.0.

Gravité et risque d'exploitation

CVE-2026-82564 obtient un score CVSS de 7.1/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.54 %, ce qui la place devant 44.3 % des CVE référencées.

Que faire ?

  • Vérifiez si ash_ai (versions <1.0.0, <87f616d5bfbf7af43346f0701ae17f853789a602, bc2122f78fca6c11d8ec2b9ac53148ec17476460, 0.6.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