{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-82564",
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "state": "PUBLISHED",
        "assignerShortName": "EEF",
        "dateReserved": "2026-08-30T20:00:01.856Z",
        "datePublished": "2026-08-31T01:06:00.526Z",
        "dateUpdated": "2026-08-31T01:06:00.526Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "collectionURL": "https://repo.hex.pm",
                    "cpes": [
                        "cpe:2.3:a:ash-project:ash_ai:*:*:*:*:*:*:*:*"
                    ],
                    "defaultStatus": "unaffected",
                    "modules": [
                        "'Elixir.AshAi.Tool.Execution'"
                    ],
                    "packageName": "ash_ai",
                    "packageURL": "pkg:hex/ash_ai",
                    "product": "ash_ai",
                    "programFiles": [
                        "lib/ash_ai/tool/execution.ex"
                    ],
                    "programRoutines": [
                        {
                            "name": "'Elixir.AshAi.Tool.Execution':identity_filter/3"
                        }
                    ],
                    "repo": "https://github.com/ash-project/ash_ai",
                    "vendor": "ash-project",
                    "versions": [
                        {
                            "lessThan": "1.0.0",
                            "status": "affected",
                            "version": "0.6.0",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "collectionURL": "https://github.com",
                    "cpes": [
                        "cpe:2.3:a:ash-project:ash_ai:*:*:*:*:*:*:*:*"
                    ],
                    "defaultStatus": "unaffected",
                    "modules": [
                        "'Elixir.AshAi.Tool.Execution'"
                    ],
                    "packageName": "ash-project/ash_ai",
                    "packageURL": "pkg:github/ash-project/ash_ai",
                    "product": "ash_ai",
                    "programFiles": [
                        "lib/ash_ai/tool/execution.ex"
                    ],
                    "programRoutines": [
                        {
                            "name": "'Elixir.AshAi.Tool.Execution':identity_filter/3"
                        }
                    ],
                    "repo": "https://github.com/ash-project/ash_ai",
                    "vendor": "ash-project",
                    "versions": [
                        {
                            "lessThan": "87f616d5bfbf7af43346f0701ae17f853789a602",
                            "status": "affected",
                            "version": "bc2122f78fca6c11d8ec2b9ac53148ec17476460",
                            "versionType": "git"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "cpeMatch": [
                                {
                                    "criteria": "cpe:2.3:a:ash-project:ash_ai:*:*:*:*:*:*:*:*",
                                    "versionEndExcluding": "1.0.0",
                                    "versionStartIncluding": "0.6.0",
                                    "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": "remediation developer",
                    "value": "Jonatan Männchen / EEF / EEF"
                },
                {
                    "lang": "en",
                    "type": "remediation reviewer",
                    "value": "Zach Daniel / Ash Project"
                },
                {
                    "lang": "en",
                    "type": "coordinator",
                    "value": "Jonatan Männchen / EEF"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "<p>Authorization Bypass Through User-Controlled Key vulnerability in ash-project ash_ai allows a caller of an <code>identity</code>-configured tool to update or destroy records it never identified, including every row in the table.</p>\n<p>In <code>AshAi.Tool.Execution</code>, <code>identity_filter/3</code> built the update/destroy filter directly from the raw tool arguments as <code>[{key, Map.get(arguments, to_string(key))}]</code> and passed it to <code>Ash.Query.do_filter/2</code>. A map value is parsed as a predicate expression rather than a literal, so a caller can send <code>{\"public_ref\": {\"not_eq\": \"&lt;own-ref&gt;\"}}</code> and, combined with <code>Ash.Query.limit(1)</code> and <code>Ash.bulk_update!</code>/<code>Ash.bulk_destroy!</code>, retarget the write at a record it never identified; an omitted key yields an <code>IS NULL</code> filter that matches an arbitrary row. The fix casts each identity value to the field type, rejecting non-scalar inputs.</p>\n<p>This issue affects ash_ai: from 0.6.0 before 1.0.0.</p>"
                        },
                        {
                            "base64": false,
                            "type": "text/markdown",
                            "value": "Authorization Bypass Through User-Controlled Key vulnerability in ash-project ash_ai allows a caller of an `identity`-configured tool to update or destroy records it never identified, including every row in the table.\n\nIn `AshAi.Tool.Execution`, `identity_filter/3` built the update/destroy filter directly from the raw tool arguments as `[{key, Map.get(arguments, to_string(key))}]` and passed it to `Ash.Query.do_filter/2`. A map value is parsed as a predicate expression rather than a literal, so a caller can send `{\"public_ref\": {\"not_eq\": \"<own-ref>\"}}` and, combined with `Ash.Query.limit(1)` and `Ash.bulk_update!`/`Ash.bulk_destroy!`, retarget the write at a record it never identified; an omitted key yields an `IS NULL` filter that matches an arbitrary row. The fix casts each identity value to the field type, rejecting non-scalar inputs.\n\nThis issue affects ash_ai: from 0.6.0 before 1.0.0."
                        }
                    ],
                    "value": "Authorization Bypass Through User-Controlled Key vulnerability in ash-project ash_ai allows a caller of an identity-configured tool to update or destroy records it never identified, including every row in the table.\n\nIn AshAi.Tool.Execution, identity_filter/3 built the update/destroy filter directly from the raw tool arguments as [{key, Map.get(arguments, to_string(key))}] and passed it to Ash.Query.do_filter/2. A map value is parsed as a predicate expression rather than a literal, so a caller can send {\"public_ref\": {\"not_eq\": \"<own-ref>\"}} and, combined with Ash.Query.limit(1) and Ash.bulk_update!/Ash.bulk_destroy!, retarget the write at a record it never identified; an omitted key yields an IS NULL filter that matches an arbitrary row. The fix casts each identity value to the field type, rejecting non-scalar inputs.\n\nThis issue affects ash_ai: from 0.6.0 before 1.0.0."
                }
            ],
            "impacts": [
                {
                    "capecId": "CAPEC-77",
                    "descriptions": [
                        {
                            "lang": "en",
                            "value": "CAPEC-77 Manipulating User-Controlled Variables"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "Automatable": "NOT_DEFINED",
                        "Recovery": "NOT_DEFINED",
                        "Safety": "NOT_DEFINED",
                        "attackComplexity": "LOW",
                        "attackRequirements": "NONE",
                        "attackVector": "NETWORK",
                        "baseScore": 7.1,
                        "baseSeverity": "HIGH",
                        "privilegesRequired": "LOW",
                        "providerUrgency": "NOT_DEFINED",
                        "subAvailabilityImpact": "NONE",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "userInteraction": "NONE",
                        "valueDensity": "NOT_DEFINED",
                        "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N",
                        "version": "4.0",
                        "vulnAvailabilityImpact": "NONE",
                        "vulnConfidentialityImpact": "LOW",
                        "vulnIntegrityImpact": "HIGH",
                        "vulnerabilityResponseEffort": "NOT_DEFINED"
                    },
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-639",
                            "description": "CWE-639 Authorization Bypass Through User-Controlled Key",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
                "shortName": "EEF",
                "dateUpdated": "2026-08-31T01:06:00.526Z"
            },
            "references": [
                {
                    "tags": [
                        "vendor-advisory",
                        "related"
                    ],
                    "url": "https://github.com/ash-project/ash_ai/security/advisories/GHSA-jg86-xh36-h5xc"
                },
                {
                    "tags": [
                        "related"
                    ],
                    "url": "https://cna.erlef.org/cves/CVE-2026-82564.html"
                },
                {
                    "tags": [
                        "related"
                    ],
                    "url": "https://osv.dev/vulnerability/EEF-CVE-2026-82564"
                },
                {
                    "tags": [
                        "patch"
                    ],
                    "url": "https://github.com/ash-project/ash_ai/commit/87f616d5bfbf7af43346f0701ae17f853789a602"
                }
            ],
            "source": {
                "discovery": "EXTERNAL"
            },
            "title": "Identity tool filter in AshAi accepts operator maps, allowing update or destroy of unidentified records"
        }
    }
}