{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0.6.0"
              },
              {
                "fixed": "1.0.0"
              }
            ],
            "source": [
              "DESCRIPTION",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "c31e6f4b619d9e6f79088fdf4f2a3463941137a6"
            },
            {
              "fixed": "f72b14744996e71df6d73480d617d963f340597b"
            },
            {
              "fixed": "87f616d5bfbf7af43346f0701ae17f853789a602"
            }
          ],
          "repo": "https://github.com/ash-project/ash_ai",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-jg86-xh36-h5xc"
  ],
  "database_specific": {
    "cna_assigner": "EEF",
    "cwe_ids": [
      "CWE-639"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82564.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "bc2122f78fca6c11d8ec2b9ac53148ec17476460"
          },
          {
            "fixed": "87f616d5bfbf7af43346f0701ae17f853789a602"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "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\": \"\u003cown-ref\u003e\"}} 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.",
  "id": "CVE-2026-82564",
  "modified": "2026-09-03T03:30:17.984749498Z",
  "published": "2026-08-31T01:06:00.526Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://cna.erlef.org/cves/CVE-2026-82564.html"
    },
    {
      "type": "WEB",
      "url": "https://github.com"
    },
    {
      "type": "WEB",
      "url": "https://osv.dev/vulnerability/EEF-CVE-2026-82564"
    },
    {
      "type": "WEB",
      "url": "https://repo.hex.pm"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82564.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/ash-project/ash_ai/security/advisories/GHSA-jg86-xh36-h5xc"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-82564"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ash-project/ash_ai/commit/87f616d5bfbf7af43346f0701ae17f853789a602"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/ash-project/ash_ai"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Identity tool filter in AshAi accepts operator maps, allowing update or destroy of unidentified records"
}