CVE-2026-82740: CWE-20 Improper Input Validation in ash-project ash
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.
CVSS v4.0
Score 2.1low
Affected software
ash-project
ash
ash-project
ash
cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in ash-project ash occurs in the Ash.Type.apply_constraints/3 function, which handles nested array constraints improperly. Specifically, when validating a doubly-nested array attribute ({:array, {:array, type}}), the function only applies constraints to the inner array elements and neglects constraints on the outer array such as minimum and maximum length or disallowing nil items. This allows attackers to submit outer arrays that violate these constraints, which are then accepted and persisted. The fix involves enforcing the outer array constraints and adding explicit handling for nil and non-list inputs. The affected versions are from 2.16.1 before 3.32.2.
Potential Impact
An attacker can submit invalid outer arrays that violate constraints like maximum length or nil item restrictions, which are improperly validated and accepted by the system. This could lead to unexpected data states or logic errors in applications relying on these constraints. However, the CVSS score is low (2.1), indicating limited impact and no known exploits in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch link is provided, users should monitor the vendor's announcements for updates. Until a fix is available, carefully validate and sanitize input data externally to ensure compliance with expected array constraints.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EEF
- Date Reserved
- 2026-08-31T00:59:10.002Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a964c16acd9273b492d1359
Added to database: 09/01/2026, 03:52:54 UTC
Last enriched: 09/07/2026, 15:05:45 UTC
Last updated: 10/15/2026, 18:48:24 UTC
Views: 73
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.