Identity tool filter in AshAi accepts operator maps, allowing update or destroy of unidentified records
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. In 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": ""}} 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. This issue affects ash_ai: from 0.6.0 before 1.0.0.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-82564
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 13:16 UTC · Revision 1
Source evidence
Identity tool filter in AshAi accepts operator maps, allowing update or destroy of unidentified records
core-osv · Original sourcePublished 31 Aug 2026, 01:06 UTC
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. In 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": ""}} 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. This issue affects ash_ai: from 0.6.0 before 1.0.0.
osv:CVE-2026-82564
Complete source record
{
"id": "4ee9ff1e058109fe5eac0a09a6f801f24c6dfbd06e2c015535daa650f75a3c5c",
"url": "https://osv.dev/vulnerability/CVE-2026-82564",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Identity tool filter in AshAi accepts operator maps, allowing update or destroy of unidentified records",
"summary": "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. In 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\": \"\"}} 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. This issue affects ash_ai: from 0.6.0 before 1.0.0.",
"evidence": "osv:CVE-2026-82564",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-82564",
"aliases": [
"CVE-2026-82564",
"EEF-CVE-2026-82564",
"GHSA-jg86-xh36-h5xc"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/ash-project/ash_ai",
"type": "GIT",
"events": [
{
"introduced": "bc2122f78fca6c11d8ec2b9ac53148ec17476460"
},
{
"fixed": "87f616d5bfbf7af43346f0701ae17f853789a602"
},
{
"introduced": "c31e6f4b619d9e6f79088fdf4f2a3463941137a6"
},
{
"fixed": "f72b14744996e71df6d73480d617d963f340597b"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "bc2122f78fca6c11d8ec2b9ac53148ec17476460"
},
{
"fixed": "87f616d5bfbf7af43346f0701ae17f853789a602"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "0.6.0"
},
{
"fixed": "1.0.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "87f616d5bfbf7af43346f0701ae17f853789a602"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v0.8.2",
"v0.8.1",
"v0.8.0",
"v0.7.3",
"v0.7.2",
"v0.7.1",
"v0.7.0",
"v0.6.1",
"v0.6.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-82564.json"
}
}
],
"modified": "2026-10-28T02:30:28.897018405Z",
"provider": "osv",
"references": [
"https://cna.erlef.org/cves/CVE-2026-82564.html",
"https://github.com",
"https://osv.dev/vulnerability/EEF-CVE-2026-82564",
"https://repo.hex.pm",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82564.json",
"https://github.com/ash-project/ash_ai/security/advisories/GHSA-jg86-xh36-h5xc",
"https://nvd.nist.gov/vuln/detail/CVE-2026-82564",
"https://github.com/ash-project/ash_ai/commit/87f616d5bfbf7af43346f0701ae17f853789a602",
"https://github.com/ash-project/ash_ai"
],
"provider_metadata": {
"cwe_ids": [
"CWE-639"
],
"cna_assigner": "EEF",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82564.json"
}
},
"related_cves": [
{
"value": "CVE-2026-82564",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 495778,
"published_at": "2026-08-31T01:06:00.526+00:00"
}