{
  "id": "CVE-2026-82586",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-82586",
  "published_at": "2026-09-07T22:34:14.837Z",
  "title": "AshLua read operation aggregate bypasses the exposed-field allow-list, exposing private attributes",
  "vendor": "ash-project",
  "product": "ash_lua",
  "cvss": {
    "score": 8.2,
    "source": "cna",
    "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.\n\nAshLua 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.\n\nThis issue affects ash_lua: from 0.1.0 before 0.2.1.",
  "cwe": "CWE-424",
  "cvss_by_source": {
    "cna": 8.2
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "ash-project",
        "product": "ash_lua",
        "ranges": [
          "\u003e= 0.1.0, \u003c 0.2.1"
        ],
        "fixed_in": [
          "0.2.1"
        ]
      },
      {
        "vendor": "ash-project",
        "product": "ash_lua",
        "ranges": [
          "\u003e= 8675e47cca81f36594083a7e63379bac9e123e72, \u003c c0dfcd9494766d548178c37df0bd01cff378e1c7"
        ],
        "fixed_in": [
          "c0dfcd9494766d548178c37df0bd01cff378e1c7"
        ]
      }
    ],
    "upgrade": [
      "Upgrade ash_lua to 0.2.1 or later.",
      "Upgrade ash_lua to c0dfcd9494766d548178c37df0bd01cff378e1c7 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/ash-project/ash_lua/security/advisories/GHSA-37jv-wc37-fhcw"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/ash-project/ash_lua/commit/8675e47cca81f36594083a7e63379bac9e123e72"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/ash-project/ash_lua/commit/c0dfcd9494766d548178c37df0bd01cff378e1c7"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
