CVE-2026-82586
Beschrijving NL
Onjuiste bescherming van de kwetsbaarheid van het alternatieve pad in ash-project ash_lua stelt een door de gebruiker geleverd Lua-script in staat om attributen te lezen die niet op de lijst met blootgestelde velden staan. AshLua stelt Ash-bronnen bloot aan Lua-scripts, omheind door een manifest waarin wordt verklaard welke velden worden blootgesteld. Het geaggregeerde pad van de leesactie in AshLua.Runtime nam de veldnaam rechtstreeks uit de Lua-oproep en loste deze op met alleen String.to_existing_atom en Ash.Query.Aggregate.new!, die geen van beide de lijst met blootgestelde velden raadpleegt die het normale veldpad afdwingt. Een script kan daarom de waarde lezen van elk kenmerk van elk record dat de acteur kan lezen, inclusief privégevoelige?: true-kolommen, via resource.read ({ operation = {"list", "hashed_password"} }); min en max geven een waarde orakel. Iedereen die een Lua-script kan indienen of beïnvloeden, kan dit bereiken. Dit probleem heeft invloed op ash_lua: van 0.1.0 voor 0.2.1.
Origineel (Engels) tonen
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.