{"id":18450,"date":"2026-09-09T04:30:47","date_gmt":"2026-09-08T20:30:47","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-78216"},"modified":"2026-09-09T04:30:47","modified_gmt":"2026-09-08T20:30:47","slug":"cve-2026-78216","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-78216","title":{"rendered":"CVE-2026-78216 &#8211; AshLua exposes Ash read actions to Lua scripts run through an eval action. A read call acc"},"content":{"rendered":"<p>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.<\/p>\n<p>Ash 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&#8217;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.<\/p>\n<p>The fix authorizes the aggregated field against the resource&#8217;s field policies, so aggregating over a field the actor may not see is refused or scoped to the rows where it is visible.<\/p>\n<p>This issue affects ash_lua: from 0.1.0 before 0.2.2.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 fie<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-18450","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/18450","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=18450"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=18450"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=18450"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}