CVE-2026-78216
AshLua eval read operations can read field-policy-protected fields via aggregates
Mitigation
- Upgrade ash_lua to 0.2.2 or later.
- Upgrade ash_lua to 266a5dcc56d5015b6d316c10606169e753b07450 or later.
Who should check
- Anyone running ash-project ash_lua >= 0.1.0, < 0.2.2
- Anyone running ash-project ash_lua >= 8675e47cca81f36594083a7e63379bac9e123e72, < 266a5dcc56d5015b6d316c10606169e753b07450
Vulnerability facts
- Affected
- ash-project ash_lua >= 0.1.0, < 0.2.2; ash-project ash_lua >= 8675e47cca81f36594083a7e63379bac9e123e72, < 266a5dcc56d5015b6d316c10606169e753b07450
- Fixed in
- ash-project ash_lua 0.2.2, ash-project ash_lua 266a5dcc56d5015b6d316c10606169e753b07450
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 6.0 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: Present
- Privileges required: Low
- User interaction: None
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.43% chance of exploitation in 30 days (percentile 29, 2026-11-26)
- CWE
- CWE-1220
- Modified
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. 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'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. The 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. This issue affects ash_lua: from 0.1.0 before 0.2.2.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| ash-project ash_lua | >= 0.1.0, < 0.2.2 | — | cvelist |
| ash-project ash_lua | >= 8675e47cca81f36594083a7e63379bac9e123e72, < 266a5dcc56d5015b6d316c10606169e753b07450 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-78216. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-78216.md Affected: ash-project ash_lua >= 0.1.0, < 0.2.2; ash-project ash_lua >= 8675e47cca81f36594083a7e63379bac9e123e72, < 266a5dcc56d5015b6d316c10606169e753b07450 Fixed in: ash-project ash_lua 0.2.2, ash-project ash_lua 266a5dcc56d5015b6d316c10606169e753b07450 Steps: 1. Search this machine and project for ash-project ash_lua: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
FAQ
Is CVE-2026-78216 being exploited?
There is no confirmed exploitation: CVE-2026-78216 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.43% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-78216?
Medium: CVSS 6.0 (v4.0, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2026-78216?
ash-project ash_lua >= 0.1.0, < 0.2.2; ash-project ash_lua >= 8675e47cca81f36594083a7e63379bac9e123e72, < 266a5dcc56d5015b6d316c10606169e753b07450.
Is there a fix for CVE-2026-78216?
Yes. Fixed in ash-project ash_lua 0.2.2, ash-project ash_lua 266a5dcc56d5015b6d316c10606169e753b07450. Upgrade ash_lua to 0.2.2 or later. Upgrade ash_lua to 266a5dcc56d5015b6d316c10606169e753b07450 or later.
How do I check if I'm affected by CVE-2026-78216?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.