CVE-2026-82740
published low CVSS 4.0 · 2.1Ash.Type ignores outer array constraints on nested {:array, {:array, type}} inputs
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ash-project | — | ash2.16.1 to < 3.32.2 · Other versions: unaffected | Affected | Not stated | EEF |
| ash-project | — | ash-project/ashash · 7b50a401d85018371659e51c34c89d7e1d0c2ac9 to < c85ccff7dc6e3b0b3e40ad788b0056b3b6bee5ce · Other versions: unaffected | Affected | Not stated | EEF |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.1 / 10
- Severity
- low
- Provider
- EEF · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ash-project | ash | 2.16.1 to < 3.32.2 (affected · semver)Default: unaffected | EEF · cna |
| ash-project | ash | 7b50a401d85018371659e51c34c89d7e1d0c2ac9 to < c85ccff7dc6e3b0b3e40ad788b0056b3b6bee5ce (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-20 CWE-20 Improper Input Validation
References
5- EEF CNA record for CVE-2026-82740 https://cna.erlef.org/cves/CVE-2026-82740.html
- Introducing commit 7b50a40 in ash-project/ash https://github.com/ash-project/ash/commit/7b50a401d85018371659e51c34c89d7e1d0c2ac9
- Fix commit c85ccff in ash-project/ash https://github.com/ash-project/ash/commit/c85ccff7dc6e3b0b3e40ad788b0056b3b6bee5ce
- https://github.com/ash-project/ash/security/advisories/GHSA-v29m-p28g-w5fc
- OSV record EEF-CVE-2026-82740 https://osv.dev/vulnerability/EEF-CVE-2026-82740
Provider assertions
2EEF · cna
Ash.Type ignores outer array constraints on nested {:array, {:array, type}} inputs
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7a63f1795118140298d651d2a14d0c77d90066dabe97430b6ecd3d879990b9d0
- Ingested
- 19 Nov 2026, 08:43:53 UTC
- Source record
- Official CVE record