CVE Catalog

CVE-2026-82740

LowCVSS 2.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.13%

3th percentile - higher than 3% of all known CVEs

Summary

Vulnerability in the ash library involves improper input validation for attributes with doubly-nested arrays. Constraints on the outer array are not enforced, allowing invalid data to be accepted.

Risk Assessment

An attacker can submit a list violating constraints (e.g., too many elements or disallowed nil values), which will be accepted and persisted, potentially leading to data inconsistency or unexpected application behavior.

Recommendation

Update the ash library to version 3.32.2 or later, which includes a fix enforcing outer array constraints.

Other vulnerabilities in ash

See all
Original NVD description (English source)

Improper Input Validation vulnerability in ash-project ash fails to enforce the outer array constraints on a doubly-nested {:array, {:array, type}} attribute, letting invalid input pass validation. Ash.Type.apply_constraints/3 (lib/ash/type/type.ex) handled the {:array, {:array, type}} case by mapping only the inner {:array, type} constraints over each element, so constraints declared on the outer array (such as min_length, max_length, and nil_items?) were never applied. An attacker could submit an outer list that violates those constraints (too many elements, or nil entries where disallowed) and have it accepted and persisted. The fix enforces the outer array constraints and adds explicit handling for nil and non-list inputs. This issue affects ash: from 2.16.1 before 3.32.2.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS