EEF-CVE-2026-82564

Source
https://cna.erlef.org/osv/EEF-CVE-2026-82564.html
Import Source
https://cna.erlef.org/osv/EEF-CVE-2026-82564.json
JSON Data
https://api.osv.dev/v1/vulns/EEF-CVE-2026-82564
Aliases
  • CVE-2026-82564
  • GHSA-jg86-xh36-h5xc
Published
2026-08-31T01:06:00.526Z
Modified
2026-08-31T01:25:37.887813003Z
Severity
  • 7.1 (High) CVSS_V4 - 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 CVSS Calculator
Summary
Identity tool filter in AshAi accepts operator maps, allowing update or destroy of unidentified records
Details

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": "<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.

This issue affects ash_ai: from 0.6.0 before 1.0.0.

Database specific
{
    "cpe_ids": [
        "cpe:2.3:a:ash-project:ash_ai:*:*:*:*:*:*:*:*"
    ],
    "capec_ids": [
        "CAPEC-77"
    ],
    "cwe_ids": [
        "CWE-639"
    ]
}
References
Credits
    • Peter Ullrich - FINDER
    • Peter Ullrich - REPORTER
    • Jonatan Männchen / EEF / EEF - REMEDIATION_DEVELOPER
    • Zach Daniel / Ash Project - REMEDIATION_REVIEWER
    • Jonatan Männchen / EEF - COORDINATOR

Affected packages

Hex / ash_ai

Package

Name
ash_ai
Purl
pkg:hex/ash_ai

Affected ranges

Type
SEMVER
Events
Introduced
0.6.0
Fixed
1.0.0

Affected versions

0.*
0.6.0
0.6.1
0.7.0
0.7.1
0.7.2
0.7.3
0.8.0
0.8.1
0.8.2

Database specific

source
"https://cna.erlef.org/osv/EEF-CVE-2026-82564.json"

Git / github.com/ash-project/ash_ai

Affected ranges

Type
GIT
Repo
https://github.com/ash-project/ash_ai
Events

Affected versions

v0.*
v0.6.0
v0.6.1
v0.7.0
v0.7.1
v0.7.2
v0.7.3
v0.8.0
v0.8.1
v0.8.2

Database specific

source
"https://cna.erlef.org/osv/EEF-CVE-2026-82564.json"