---
id: CVE-2026-82586
title: >-
  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 manife…
summary: >-
  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 manife…
severity: high
cvss: 8.2
cvssVector: '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'
cwe:
  - CWE-424
vendor: ash-project
product: ash_lua
affected:
  - ash_lua >= 0.1.0 < 0.2.1
  - >-
    ash-project/ash_lua >= 8675e47cca81f36594083a7e63379bac9e123e72 <
    c0dfcd9494766d548178c37df0bd01cff378e1c7
published: '2026-09-07'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T15:18:49.860'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-82586'
references:
  - url: 'https://cna.erlef.org/cves/CVE-2026-82586.html'
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
  - url: >-
      https://github.com/ash-project/ash_lua/commit/c0dfcd9494766d548178c37df0bd01cff378e1c7
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
  - url: >-
      https://github.com/ash-project/ash_lua/security/advisories/GHSA-37jv-wc37-fhcw
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
  - url: 'https://osv.dev/vulnerability/EEF-CVE-2026-82586'
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-08T14:44:32.288129Z'
cvssSource: cna
epss: 0.00524
epssPercentile: 0.42008
ingestedAt: '2026-09-08T15:33:26.980Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
