CVE-2026-82586

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

CVSS 8.2 · Élevée
EPSS 0.5%
ash-project•ash_lua•Versions : 8675e47cca81f36594083a7e63379bac9e123e72, <0.2.1, 0.1.0, <c0dfcd9494766d548178c37df0bd01cff378e1c7

Description

Improper Protection of Alternate Path vulnerability in ash-project ash_lua allows a user-supplied Lua script to read attributes that are not on the exposed-field allow-list. AshLua exposes Ash resources to Lua scripts, gated by a manifest declaring which fields are exposed. The read action's operation aggregate path in AshLua.Runtime took the field name straight from the Lua call and resolved it with only String.to_existing_atom and Ash.Query.Aggregate.new!, neither of which consults the exposed-field allow-list the normal fields path enforces. A script can therefore read the value of any attribute of any record the actor may read, including private sensitive?: true columns, via resource.read({ operation = {"list", "hashed_password"} }); min and max give a value oracle. Anyone able to submit or influence a Lua script can reach this. This issue affects ash_lua: from 0.1.0 before 0.2.1.

Gravité et risque d'exploitation

CVE-2026-82586 obtient un score CVSS de 8.2/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.52 %, ce qui la place devant 43.2 % des CVE référencées.

Que faire ?

  • Vérifiez si ash_lua (versions 8675e47cca81f36594083a7e63379bac9e123e72, <0.2.1, 0.1.0, <c0dfcd9494766d548178c37df0bd01cff378e1c7) 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