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.
Published: 2026-09-07
Score: 8.2 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is an Improper Protection of Alternate Path that lets a Lua script read any attribute of an Ash resource, including private fields that should be hidden by the manifest’s allow‑list. The read operation aggregates directly from the script’s input and only applies String.to_existing_atom and Ash.Query.Aggregate.new! without consulting the allow‑list, enabling access to sensitive attributes such as hashed_password. This flaw corresponds to CWE‑424 and allows an attacker to obtain private data that was not intended to be exposed.

Affected Systems

Ash Project ash_lua, versions 0.1.0 through 0.2.0 inclusive, i.e., all releases before 0.2.1. The manifest allow‑list enforcement is broken in these versions, making the vulnerability present for all affected builds.

Risk and Exploitability

The CVSS score of 8.2 reflects a high severity scenario where an attacker who can supply or influence a Lua script can read any field the actor is authorized to view, turning the system into a data oracle for private columns. EPSS is not available, and the vulnerability is not in KEV, so the exploitation probability is unknown but realistic due to the simple vector of script submission. Based on the description, the attack vector is inferred to be remote, allowing a malicious user to inject a Lua script and trigger the return of sensitive data without further privileges beyond script execution.

Generated by OpenCVE AI on September 7, 2026 at 23:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to ash_lua 0.2.1 or later to restore the manifest check on read operations.
  • Restrict the submission of Lua scripts to trusted users and enforce strict authentication before accepting script input.
  • Review and adjust the manifest to exclude private or sensitive fields from exposure and validate that only permitted attributes can be read.

Generated by OpenCVE AI on September 7, 2026 at 23:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 07 Sep 2026 22:45:00 +0000

Type Values Removed Values Added
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.
Title AshLua read operation aggregate bypasses the exposed-field allow-list, exposing private attributes
First Time appeared Ash-project
Ash-project ash Lua
Weaknesses CWE-424
CPEs cpe:2.3:a:ash-project:ash_lua:*:*:*:*:*:*:*:*
Vendors & Products Ash-project
Ash-project ash Lua
References
Metrics cvssV4_0

{'score': 8.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Ash-project Ash Lua
cve-icon MITRE

Status: PUBLISHED

Assigner: EEF

Published:

Updated: 2026-09-07T22:34:14.837Z

Reserved: 2026-09-07T19:30:01.631Z

Link: CVE-2026-82586

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-07T23:16:52.093

Modified: 2026-09-07T23:16:52.093

Link: CVE-2026-82586

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-07T23:30:17Z

Weaknesses
  • CWE-424

    Improper Protection of Alternate Path