CVE-2026-82740 Ash.Type ignores outer array constraints on nested {:array, {:array, type}} inputs
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
Description
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ash-project ash | >= 2.16.1, < 3.32.2; >= 7b50a401d85018371659e51c34c89d7e1d0c2ac9, < c85ccff7dc6e3b0b3e40ad788b0056b3b6bee5ce | 3.32.2, c85ccff7dc6e3b0b3e40ad788b0056b3b6bee5ce | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ash-project ash | >= 2.16.1, < 3.32.2 | 3.32.2 |
| ash-project ash | >= 7b50a401d85018371659e51c34c89d7e1d0c2ac9, < c85ccff7dc6e3b0b3e40ad788b0056b3b6bee5ce | c85ccff7dc6e3b0b3e40ad788b0056b3b6bee5ce |
References
- github.com exploit related vendor-advisory
- EEF CNA record for CVE-2026-82740 related
- OSV record EEF-CVE-2026-82740 related
- Fix commit c85ccff in ash-project/ash patch
- Introducing commit 7b50a40 in ash-project/ash related
- ENISA EUVD EUVD-2026-68945 third-party-advisory