CVE Catalog

CVE-2026-82586

HighCVSS 8.2
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.33%

26th percentile - higher than 26% of all known CVEs

Summary

Vulnerability in ash_lua allows user-supplied Lua scripts to read attributes not on the exposed-field allow-list. The read action's aggregate path does not consult the allow-list, enabling access to sensitive data such as passwords.

Risk Assessment

An attacker who can run Lua scripts may access confidential data, including passwords, compromising confidentiality and potentially leading to privilege escalation.

Recommendation

Upgrade ash_lua to version 0.2.1 or later, which includes a fix that enforces the allow-list check in aggregate operations as well.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS