CVE-2026-82740
LOW 2.1CVSS 4.0Ash.Type ignores outer array constraints on nested {:array, {:array, type}} inputs
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.
- Published
- 1 Sep 2026
- Last modified
- 25 Nov 2026
- Assigned by
- 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
- NVD status
- Deferred
- Weakness
- CWE-20
- Also known as
- EEF-CVE-2026-82740GHSA-v29m-p28g-w5fc
- Sources
- NVDJSONCVE ListJSONOSV EEF-CVE-2026-82740JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Secondary) | CVSS 4.0 | LOW 2.1 | CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CVE List | EEF | CVSS 4.0 | LOW 2.1 | CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N |
| CVE List | CISA-ADP | SSVC | Exploitation: poc; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | https://repo.hex.pm | ashcpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:* |
>= 2.16.1, < 3.32.2 | 3.32.2 |
| CVE List | https://github.com | ash-project/ashcpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:* |
>= 7b50a401d85018371659e51c34c89d7e1d0c2ac9, < c85ccff7dc6e3b0b3e40ad788b0056b3b6bee5ce | c85ccff7dc6e3b0b3e40ad788b0056b3b6bee5ce |
| OSV | Hex | ash | >= 2.16.1, < 3.32.2 | 3.32.2 |
References
- https://cna.erlef.org/cves/CVE-2026-82740.html · related, WEB
- https://github.com/ash-project/ash/commit/7b50a401d85018371659e51c34c89d7e1d0c2ac9 · related, WEB
- https://github.com/ash-project/ash/commit/c85ccff7dc6e3b0b3e40ad788b0056b3b6bee5ce · patch, FIX
- https://github.com/ash-project/ash/security/advisories/GHSA-v29m-p28g-w5fc · vendor-advisory, related, ADVISORY
- https://osv.dev/vulnerability/EEF-CVE-2026-82740 · related
- https://hex.pm/packages/ash · PACKAGE
History
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 1 Sep 2026)
- 25 Nov 2026 20:11 UTC · CVE List: first stored (published 1 Sep 2026)
- 25 Nov 2026 20:10 UTC · NVD: first stored (published 1 Sep 2026)