CVE-2026-82586 (GCVE-0-2026-82586)
Vulnerability from cvelistv5
Published
2026-09-07 22:34
Modified
2026-09-08 14:44
CWE
  • CWE-424 - Improper Protection of Alternate Path
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 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.
Impacted products
Vendor Product Version
ash-project ash_lua Version: 0.1.0   ≤
    cpe:2.3:a:ash-project:ash_lua:*:*:*:*:*:*:*:*
Create a notification for this product.
   ash-project ash_lua Version: 8675e47cca81f36594083a7e63379bac9e123e72
    cpe:2.3:a:ash-project:ash_lua:*:*:*:*:*:*:*:*
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-82586",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-09-08T14:44:32.288129Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-09-08T14:44:37.935Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://repo.hex.pm",
          "cpes": [
            "cpe:2.3:a:ash-project:ash_lua:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "\u0027Elixir.AshLua.Runtime\u0027"
          ],
          "packageName": "ash_lua",
          "packageURL": "pkg:hex/ash_lua",
          "product": "ash_lua",
          "programFiles": [
            "lib/ash_lua/runtime.ex"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.AshLua.Runtime\u0027:eval!/2"
            }
          ],
          "repo": "https://github.com/ash-project/ash_lua",
          "vendor": "ash-project",
          "versions": [
            {
              "lessThan": "0.2.1",
              "status": "affected",
              "version": "0.1.0",
              "versionType": "semver"
            }
          ]
        },
        {
          "collectionURL": "https://github.com",
          "cpes": [
            "cpe:2.3:a:ash-project:ash_lua:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "\u0027Elixir.AshLua.Runtime\u0027"
          ],
          "packageName": "ash-project/ash_lua",
          "packageURL": "pkg:github/ash-project/ash_lua",
          "product": "ash_lua",
          "programFiles": [
            "lib/ash_lua/runtime.ex"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.AshLua.Runtime\u0027:eval!/2"
            }
          ],
          "repo": "https://github.com/ash-project/ash_lua",
          "vendor": "ash-project",
          "versions": [
            {
              "lessThan": "c0dfcd9494766d548178c37df0bd01cff378e1c7",
              "status": "affected",
              "version": "8675e47cca81f36594083a7e63379bac9e123e72",
              "versionType": "git"
            }
          ]
        }
      ],
      "configurations": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eReachable only when an application exposes AshLua scripting (the \u003ccode\u003eAshLua.Resource\u003c/code\u003e / \u003ccode\u003eAshLua.Domain\u003c/code\u003e extensions) to callers who can submit or influence Lua scripts, and the exposed resource has attributes that are not on the exposed-field surface.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "Reachable only when an application exposes AshLua scripting (the `AshLua.Resource` / `AshLua.Domain` extensions) to callers who can submit or influence Lua scripts, and the exposed resource has attributes that are not on the exposed-field surface."
            }
          ],
          "value": "Reachable only when an application exposes AshLua scripting (the AshLua.Resource / AshLua.Domain extensions) to callers who can submit or influence Lua scripts, and the exposed resource has attributes that are not on the exposed-field surface."
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:ash-project:ash_lua:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "0.2.1",
                  "versionStartIncluding": "0.1.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ],
          "operator": "AND"
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Peter Ullrich"
        },
        {
          "lang": "en",
          "type": "reporter",
          "value": "Peter Ullrich"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Zach Daniel / Ash Project"
        },
        {
          "lang": "en",
          "type": "coordinator",
          "value": "Jonatan M\u00e4nnchen / EEF"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eImproper 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.\u003c/p\u003e\n\u003cp\u003eAshLua exposes Ash resources to Lua scripts, gated by a manifest declaring which fields are exposed. The \u003ccode\u003eread\u003c/code\u003e action\u0027s \u003ccode\u003eoperation\u003c/code\u003e aggregate path in \u003ccode\u003eAshLua.Runtime\u003c/code\u003e took the field name straight from the Lua call and resolved it with only \u003ccode\u003eString.to_existing_atom\u003c/code\u003e and \u003ccode\u003eAsh.Query.Aggregate.new!\u003c/code\u003e, neither of which consults the exposed-field allow-list the normal \u003ccode\u003efields\u003c/code\u003e path enforces. A script can therefore read the value of any attribute of any record the actor may read, including private \u003ccode\u003esensitive?: true\u003c/code\u003e columns, via \u003ccode\u003eresource.read({ operation = {\"list\", \"hashed_password\"} })\u003c/code\u003e; \u003ccode\u003emin\u003c/code\u003e and \u003ccode\u003emax\u003c/code\u003e give a value oracle. Anyone able to submit or influence a Lua script can reach this.\u003c/p\u003e\n\u003cp\u003eThis issue affects ash_lua: from 0.1.0 before 0.2.1.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "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\u0027s `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."
            }
          ],
          "value": "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\u0027s 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."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-554",
          "descriptions": [
            {
              "lang": "en",
              "value": "CAPEC-554 Functionality Bypass"
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "LOW",
            "attackRequirements": "PRESENT",
            "attackVector": "NETWORK",
            "baseScore": 8.2,
            "baseSeverity": "HIGH",
            "privilegesRequired": "NONE",
            "providerUrgency": "NOT_DEFINED",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "NONE",
            "subIntegrityImpact": "NONE",
            "userInteraction": "NONE",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "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",
            "version": "4.0",
            "vulnAvailabilityImpact": "NONE",
            "vulnConfidentialityImpact": "HIGH",
            "vulnIntegrityImpact": "NONE",
            "vulnerabilityResponseEffort": "NOT_DEFINED"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-424",
              "description": "CWE-424 Improper Protection of Alternate Path",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-07T22:34:14.837Z",
        "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "shortName": "EEF"
      },
      "references": [
        {
          "tags": [
            "vendor-advisory",
            "related"
          ],
          "url": "https://github.com/ash-project/ash_lua/security/advisories/GHSA-37jv-wc37-fhcw"
        },
        {
          "tags": [
            "related"
          ],
          "url": "https://cna.erlef.org/cves/CVE-2026-82586.html"
        },
        {
          "tags": [
            "related"
          ],
          "url": "https://osv.dev/vulnerability/EEF-CVE-2026-82586"
        },
        {
          "tags": [
            "patch"
          ],
          "url": "https://github.com/ash-project/ash_lua/commit/c0dfcd9494766d548178c37df0bd01cff378e1c7"
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      },
      "title": "AshLua read operation aggregate bypasses the exposed-field allow-list, exposing private attributes"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
    "assignerShortName": "EEF",
    "cveId": "CVE-2026-82586",
    "datePublished": "2026-09-07T22:34:14.837Z",
    "dateReserved": "2026-09-07T19:30:01.631Z",
    "dateUpdated": "2026-09-08T14:44:37.935Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"cna\": {\"title\": \"AshLua read operation aggregate bypasses the exposed-field allow-list, exposing private attributes\", \"source\": {\"discovery\": \"EXTERNAL\"}, \"credits\": [{\"lang\": \"en\", \"type\": \"finder\", \"value\": \"Peter Ullrich\"}, {\"lang\": \"en\", \"type\": \"reporter\", \"value\": \"Peter Ullrich\"}, {\"lang\": \"en\", \"type\": \"remediation developer\", \"value\": \"Zach Daniel / Ash Project\"}, {\"lang\": \"en\", \"type\": \"coordinator\", \"value\": \"Jonatan M\\u00e4nnchen / EEF\"}], \"impacts\": [{\"capecId\": \"CAPEC-554\", \"descriptions\": [{\"lang\": \"en\", \"value\": \"CAPEC-554 Functionality Bypass\"}]}], \"metrics\": [{\"format\": \"CVSS\", \"cvssV4_0\": {\"Safety\": \"NOT_DEFINED\", \"version\": \"4.0\", \"Recovery\": \"NOT_DEFINED\", \"baseScore\": 8.2, \"Automatable\": \"NOT_DEFINED\", \"attackVector\": \"NETWORK\", \"baseSeverity\": \"HIGH\", \"valueDensity\": \"NOT_DEFINED\", \"vectorString\": \"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\", \"providerUrgency\": \"NOT_DEFINED\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"attackRequirements\": \"PRESENT\", \"privilegesRequired\": \"NONE\", \"subIntegrityImpact\": \"NONE\", \"vulnIntegrityImpact\": \"NONE\", \"subAvailabilityImpact\": \"NONE\", \"vulnAvailabilityImpact\": \"NONE\", \"subConfidentialityImpact\": \"NONE\", \"vulnConfidentialityImpact\": \"HIGH\", \"vulnerabilityResponseEffort\": \"NOT_DEFINED\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"GENERAL\"}]}], \"affected\": [{\"cpes\": [\"cpe:2.3:a:ash-project:ash_lua:*:*:*:*:*:*:*:*\"], \"repo\": \"https://github.com/ash-project/ash_lua\", \"vendor\": \"ash-project\", \"modules\": [\"\u0027Elixir.AshLua.Runtime\u0027\"], \"product\": \"ash_lua\", \"versions\": [{\"status\": \"affected\", \"version\": \"0.1.0\", \"lessThan\": \"0.2.1\", \"versionType\": \"semver\"}], \"packageURL\": \"pkg:hex/ash_lua\", \"packageName\": \"ash_lua\", \"programFiles\": [\"lib/ash_lua/runtime.ex\"], \"collectionURL\": \"https://repo.hex.pm\", \"defaultStatus\": \"unaffected\", \"programRoutines\": [{\"name\": \"\u0027Elixir.AshLua.Runtime\u0027:eval!/2\"}]}, {\"cpes\": [\"cpe:2.3:a:ash-project:ash_lua:*:*:*:*:*:*:*:*\"], \"repo\": \"https://github.com/ash-project/ash_lua\", \"vendor\": \"ash-project\", \"modules\": [\"\u0027Elixir.AshLua.Runtime\u0027\"], \"product\": \"ash_lua\", \"versions\": [{\"status\": \"affected\", \"version\": \"8675e47cca81f36594083a7e63379bac9e123e72\", \"lessThan\": \"c0dfcd9494766d548178c37df0bd01cff378e1c7\", \"versionType\": \"git\"}], \"packageURL\": \"pkg:github/ash-project/ash_lua\", \"packageName\": \"ash-project/ash_lua\", \"programFiles\": [\"lib/ash_lua/runtime.ex\"], \"collectionURL\": \"https://github.com\", \"defaultStatus\": \"unaffected\", \"programRoutines\": [{\"name\": \"\u0027Elixir.AshLua.Runtime\u0027:eval!/2\"}]}], \"references\": [{\"url\": \"https://github.com/ash-project/ash_lua/security/advisories/GHSA-37jv-wc37-fhcw\", \"tags\": [\"vendor-advisory\", \"related\"]}, {\"url\": \"https://cna.erlef.org/cves/CVE-2026-82586.html\", \"tags\": [\"related\"]}, {\"url\": \"https://osv.dev/vulnerability/EEF-CVE-2026-82586\", \"tags\": [\"related\"]}, {\"url\": \"https://github.com/ash-project/ash_lua/commit/c0dfcd9494766d548178c37df0bd01cff378e1c7\", \"tags\": [\"patch\"]}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"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\u0027s 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.\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"\u003cp\u003eImproper 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.\u003c/p\u003e\\n\u003cp\u003eAshLua exposes Ash resources to Lua scripts, gated by a manifest declaring which fields are exposed. The \u003ccode\u003eread\u003c/code\u003e action\u0027s \u003ccode\u003eoperation\u003c/code\u003e aggregate path in \u003ccode\u003eAshLua.Runtime\u003c/code\u003e took the field name straight from the Lua call and resolved it with only \u003ccode\u003eString.to_existing_atom\u003c/code\u003e and \u003ccode\u003eAsh.Query.Aggregate.new!\u003c/code\u003e, neither of which consults the exposed-field allow-list the normal \u003ccode\u003efields\u003c/code\u003e path enforces. A script can therefore read the value of any attribute of any record the actor may read, including private \u003ccode\u003esensitive?: true\u003c/code\u003e columns, via \u003ccode\u003eresource.read({ operation = {\\\"list\\\", \\\"hashed_password\\\"} })\u003c/code\u003e; \u003ccode\u003emin\u003c/code\u003e and \u003ccode\u003emax\u003c/code\u003e give a value oracle. Anyone able to submit or influence a Lua script can reach this.\u003c/p\u003e\\n\u003cp\u003eThis issue affects ash_lua: from 0.1.0 before 0.2.1.\u003c/p\u003e\", \"base64\": false}, {\"type\": \"text/markdown\", \"value\": \"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\u0027s `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.\", \"base64\": false}]}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-424\", \"description\": \"CWE-424 Improper Protection of Alternate Path\"}]}], \"configurations\": [{\"lang\": \"en\", \"value\": \"Reachable only when an application exposes AshLua scripting (the AshLua.Resource / AshLua.Domain extensions) to callers who can submit or influence Lua scripts, and the exposed resource has attributes that are not on the exposed-field surface.\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"\u003cp\u003eReachable only when an application exposes AshLua scripting (the \u003ccode\u003eAshLua.Resource\u003c/code\u003e / \u003ccode\u003eAshLua.Domain\u003c/code\u003e extensions) to callers who can submit or influence Lua scripts, and the exposed resource has attributes that are not on the exposed-field surface.\u003c/p\u003e\", \"base64\": false}, {\"type\": \"text/markdown\", \"value\": \"Reachable only when an application exposes AshLua scripting (the `AshLua.Resource` / `AshLua.Domain` extensions) to callers who can submit or influence Lua scripts, and the exposed resource has attributes that are not on the exposed-field surface.\", \"base64\": false}]}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:a:ash-project:ash_lua:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"0.2.1\", \"versionStartIncluding\": \"0.1.0\"}], \"operator\": \"OR\"}], \"operator\": \"AND\"}], \"providerMetadata\": {\"orgId\": \"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\", \"shortName\": \"EEF\", \"dateUpdated\": \"2026-09-07T22:34:14.837Z\"}}, \"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-82586\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-09-08T14:44:32.288129Z\"}}}], \"providerMetadata\": {\"shortName\": \"CISA-ADP\", \"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"dateUpdated\": \"2026-09-08T14:44:35.009Z\"}}]}",
      "cveMetadata": "{\"cveId\": \"CVE-2026-82586\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-09-07T22:34:14.837Z\", \"dateReserved\": \"2026-09-07T19:30:01.631Z\", \"assignerOrgId\": \"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\", \"datePublished\": \"2026-09-07T22:34:14.837Z\", \"assignerShortName\": \"EEF\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…