{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-82740","assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","state":"PUBLISHED","assignerShortName":"EEF","dateReserved":"2026-08-31T00:59:10.002Z","datePublished":"2026-09-01T03:29:11.804Z","dateUpdated":"2026-11-19T08:36:51.975Z"},"containers":{"cna":{"affected":[{"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.Ash.Type'"],"packageName":"ash","packageURL":"pkg:hex/ash","product":"ash","programFiles":["lib/ash/type/type.ex"],"programRoutines":[{"name":"'Elixir.Ash.Type':apply_constraints/3"}],"repo":"https://github.com/ash-project/ash","vendor":"ash-project","versions":[{"lessThan":"3.32.2","status":"affected","version":"2.16.1","versionType":"semver"}]},{"collectionURL":"https://github.com","cpes":["cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.Ash.Type'"],"packageName":"ash-project/ash","packageURL":"pkg:github/ash-project/ash","product":"ash","programFiles":["lib/ash/type/type.ex"],"programRoutines":[{"name":"'Elixir.Ash.Type':apply_constraints/3"}],"repo":"https://github.com/ash-project/ash","vendor":"ash-project","versions":[{"lessThan":"c85ccff7dc6e3b0b3e40ad788b0056b3b6bee5ce","status":"affected","version":"7b50a401d85018371659e51c34c89d7e1d0c2ac9","versionType":"git"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*","versionEndExcluding":"3.32.2","versionStartIncluding":"2.16.1","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}],"credits":[{"lang":"en","type":"finder","value":"Peter Ullrich"},{"lang":"en","type":"reporter","value":"Peter Ullrich"},{"lang":"en","type":"coordinator","value":"Jonatan Männchen / EEF"},{"lang":"en","type":"remediation developer","value":"Zach Daniel / Ash Project"}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Improper Input Validation vulnerability in ash-project ash fails to enforce the outer array constraints on a doubly-nested <code>{:array, {:array, type}}</code> attribute, letting invalid input pass validation.</p>\n<p><code>Ash.Type.apply_constraints/3</code> (<code>lib/ash/type/type.ex</code>) handled the <code>{:array, {:array, type}}</code> case by mapping only the inner <code>{:array, type}</code> constraints over each element, so constraints declared on the outer array (such as <code>min_length</code>, <code>max_length</code>, and <code>nil_items?</code>) were never applied. An attacker could submit an outer list that violates those constraints (too many elements, or <code>nil</code> entries where disallowed) and have it accepted and persisted. The fix enforces the outer array constraints and adds explicit handling for <code>nil</code> and non-list inputs.</p>\n<p>This issue affects ash: from 2.16.1 before 3.32.2.</p>"},{"base64":false,"type":"text/markdown","value":"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.\n\n`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.\n\nThis issue affects ash: from 2.16.1 before 3.32.2."}],"value":"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.\n\nAsh.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.\n\nThis issue affects ash: from 2.16.1 before 3.32.2."}],"impacts":[{"capecId":"CAPEC-153","descriptions":[{"lang":"en","value":"CAPEC-153 Input Data Manipulation"}]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"LOCAL","baseScore":2.1,"baseSeverity":"LOW","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","description":"CWE-20 Improper Input Validation","lang":"en","type":"CWE"}]}],"providerMetadata":{"orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","shortName":"EEF","dateUpdated":"2026-11-19T08:36:51.975Z"},"references":[{"tags":["vendor-advisory","related"],"url":"https://github.com/ash-project/ash/security/advisories/GHSA-v29m-p28g-w5fc"},{"name":"EEF CNA record for CVE-2026-82740","tags":["related"],"url":"https://cna.erlef.org/cves/CVE-2026-82740.html"},{"name":"OSV record EEF-CVE-2026-82740","tags":["related"],"url":"https://osv.dev/vulnerability/EEF-CVE-2026-82740"},{"name":"Introducing commit 7b50a40 in ash-project/ash","tags":["related"],"url":"https://github.com/ash-project/ash/commit/7b50a401d85018371659e51c34c89d7e1d0c2ac9"},{"name":"Fix commit c85ccff in ash-project/ash","tags":["patch"],"url":"https://github.com/ash-project/ash/commit/c85ccff7dc6e3b0b3e40ad788b0056b3b6bee5ce"}],"source":{"discovery":"EXTERNAL"},"title":"Ash.Type ignores outer array constraints on nested {:array, {:array, type}} inputs"},"adp":[{"references":[{"url":"https://github.com/ash-project/ash/security/advisories/GHSA-v29m-p28g-w5fc","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-01T12:42:32.300749Z","id":"CVE-2026-82740","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-09-01T12:42:58.541Z"}}]}}