Skip to main content
EPSS 0.2%top 93%

CVE-2026-82740: CWE-20 Improper Input Validation in ash-project ash

0
Low
VulnerabilityCVE-2026-82740cvecve-2026-82740cwe-20
Published: 09/01/2026 (09/01/2026, 03:29:11 UTC)
Source: CVE Database V5
Vendor/Project: ash-project
Product: 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

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

ash-project

ash

Affected versions
>=2.16.1 <3.32.2

ash-project

ash

ash
pkg:hex/ash
Affected versions
>=2.16.1 <3.32.2
GitHub Actionsmore threats →cve
ash-project/ash
pkg:github/ash-project/ash
CPE configurations
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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 15:05:45 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses