CVE-2026-78216: AshLua Aggregate Read Vulnerability Exposes Restricted Fields

ash_lua Updated 08 Sep 2026

Summary

08/09/2026
Yes i
Medium
6.0

CVE-2026-78216: AshLua eval read operations can read field-policy-protected fields via aggregates. Affects ash_lua across 2 version ranges.

>= 0.1.0, < 0.2.2 >= 8675e47cca81f36594083a7e63379bac9e123e72, < 266a5dcc56d5015b6d316c10606169e753b07450

Fixed in 0.2.2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

AshLua is a library that allows Lua scripts to interact with the Ash framework, enabling dynamic read actions through an eval action. It supports various operations such as listing, aggregating, and manipulating data. However, it has a vulnerability that allows unauthorized access to sensitive fields through aggregate operations, bypassing field policies.

Vulnerability Detail

The vulnerability arises from AshLua's handling of read actions via the eval function, which permits Lua scripts to perform operations on fields. While Ash field policies are designed to protect sensitive data by redacting forbidden fields, this protection does not extend to aggregate values. Consequently, an attacker could exploit this by requesting sensitive fields as aggregates, thus circumventing the intended access controls. This flaw primarily affects versions of ash_lua from 0.1.0 to before 0.2.2, allowing unauthorized access to potentially sensitive personal information.

How To Fix

Latest published version: 0.2.3 as of 23 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.2.2

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, avoid exposing the AshLua eval action over resources that have field policies restricting access to sensitive fields. This can help mitigate the risk until the package is updated.

Conclusion

CVE-2026-78216 highlights a significant vulnerability in the AshLua library that can lead to unauthorized access to sensitive fields through aggregate operations. It is crucial for developers using this library to update to the patched version and consider implementing workarounds to protect sensitive data until the update can be applied.

See every vulnerability recorded for ash_lua →

Share this vulnerability

FAQ

CVE-2026-78216 is a vulnerability in the AshLua library that allows unauthorized access to restricted fields through aggregate read operations.

The vulnerability affects ash_lua versions from 0.1.0 to before 0.2.2.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The CVSS score for this vulnerability is 6.0, indicating a moderate level of severity.

If an immediate update is not possible, consider restricting access to the eval action in AshLua to mitigate the risk of unauthorized data access.

Related vulnerabilities

Recent vulnerabilities recorded for ash_lua.

How To Fix

Latest published version: 0.2.3 as of 23 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.2.2

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback