CVE-2026-82586: AshLua read operation aggregate bypasses the exposed-field allow-list, exposing private attributes

Published Sep 7, 2026
·
Updated

Improper Protection of Alternate Path vulnerability in ash-project ashlua 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.toexistingatom 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", "hashedpassword"} }); min and max give a value oracle. Anyone able to submit or influence a Lua script can reach this.

This issue affects ashlua: from 0.1.0 before 0.2.1.

Affected Software

1 affected component
ash-project/ash_lua>0.1.0<=0.2.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ash-project ash_lua to a version that resolves this vulnerability.

    Fixed in 0.2.1

Event History

Sep 7, 2026
CVE Published
via MITRE·10:34 PM
Data Sourced
via MITRE·10:34 PM
DescriptionWeakness

Frequently Asked Questions

1

Who can exploit this issue?

Anyone able to submit or influence a Lua script processed by AshLua can exploit it. The script can target attributes on records that the acting actor is already permitted to read.

2

Are private or sensitive attributes exposed?

Yes. The aggregate read path does not consult the manifest's exposed-field allow-list, so it can read attributes outside that list, including private columns marked sensitive?: true.

3

What access does an attacker need to retrieve a value?

The attacker needs to invoke the read operation aggregate path with a field name, such as a list aggregate. Min and max aggregates can also be used as a value oracle.

4

Which versions are affected?

ash_lua versions from 0.1.0 up to, but not including, 0.2.1 are affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203