{
    "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-09-01T03:29:11.804Z"
    },
    "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": "coordinator",
                    "value": "Jonatan Männchen / EEF"
                },
                {
                    "lang": "en",
                    "type": "remediation developer",
                    "value": "Zach Daniel / Ash Project"
                },
                {
                    "lang": "en",
                    "type": "reporter",
                    "value": "Peter Ullrich"
                },
                {
                    "lang": "en",
                    "type": "finder",
                    "value": "Peter Ullrich"
                }
            ],
            "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-09-01T03:29:11.804Z"
            },
            "references": [
                {
                    "tags": [
                        "vendor-advisory",
                        "related"
                    ],
                    "url": "https://github.com/ash-project/ash/security/advisories/GHSA-v29m-p28g-w5fc"
                },
                {
                    "tags": [
                        "related"
                    ],
                    "url": "https://cna.erlef.org/cves/CVE-2026-82740.html"
                },
                {
                    "tags": [
                        "related"
                    ],
                    "url": "https://osv.dev/vulnerability/EEF-CVE-2026-82740"
                },
                {
                    "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"
        }
    }
}