{"answers":{"affected":"1 open source package ship an affected version, including ash_lua.","exploited":"There is no known exploitation of CVE-2026-78216 in the wild and no public exploit code.","fix":"Upgrade ash_lua to 0.2.2 or later.","what":"CVE-2026-78216 is a medium-severity vulnerability in ash-project ash_lua, published on 8 Sep 2026."},"fix_prompt":"Check this codebase for CVE-2026-78216 and fix it if it is affected.\n\nWhat it is: CVE-2026-78216 is a medium-severity vulnerability in ash-project ash_lua, published on 8 Sep 2026. \nExploitation: There is no known exploitation of CVE-2026-78216 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- ash_lua (Hex): affected from 0.1.0; fixed in 0.2.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-78216/ (Markdown: https://insights.sbomify.com/CVE-2026-78216/index.md)","id":"CVE-2026-78216","markdown":"https://insights.sbomify.com/CVE-2026-78216/index.md","name":"CVE-2026-78216","record":{"aliases":["EEF-CVE-2026-78216","GHSA-5whv-8rcp-x33j"],"analysis":null,"analysis_generated_by":null,"assigner":"EEF","cpe":[],"cvss":{"score":6,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-1220","name":"Insufficient Granularity of Access Control"}],"description":"AshLua exposes Ash read actions to Lua scripts run through an eval action. A read call accepts an operation (list, min, max, first, sum, avg) that builds an ad-hoc Ash.Query.Aggregate over a named field and returns its raw value.\n\nAsh field policies redact forbidden fields on returned records (replacing them with %Ash.ForbiddenField{}), but that redaction does not apply to aggregate values. A script could therefore read a field the calling actor's field policies forbid by requesting it as an aggregate instead of as a field. This includes fields that are public? true but restricted per-actor by a field policy, such as sensitive PII. The prior hardening only enforced the exposed-field allow-list (field visibility), which is a separate axis from per-actor field-policy authorization.\n\nThe fix authorizes the aggregated field against the resource's field policies, so aggregating over a field the actor may not see is refused or scoped to the rows where it is visible.\n\nThis issue affects ash_lua: from 0.1.0 before 0.2.2.","ecosystems":["Hex"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"AshLua eval read operations can read field-policy-protected fields via aggregates","id":"CVE-2026-78216","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Hex","product":null,"products":[],"type":null,"year":"2026"},"n_packages":1,"n_references":5,"next":{"headline":"Memory corruption in OpenVPN","id":"CVE-2026-78221"},"packages":[{"ecosystem":"Hex","fixed":["0.2.2"],"introduced":["0.1.0"],"last_affected":[],"package":"ash_lua","purl":"pkg:hex/ash_lua","source":"EEF-CVE-2026-78216"}],"prev":{"headline":"Apache DolphinScheduler: Actuator Endpoint Authentication Bypass via Percent-Encoded Paths","id":"CVE-2026-78214"},"products":["ash_lua"],"published":"2026-09-08","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Erlang Ecosystem Foundation","prefix":"EEF"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-08","vendors":["ash-project"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-78216/"}