{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "fe2156a9ac9e49cae44132552ce6e52aee14104c"
                  },
                  {
                    "fixed": "83ba111e7bb2c1f346bc098dcf8c4051ca8a96c1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "fe2156a9ac9e49cae44132552ce6e52aee14104c"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "83ba111e7bb2c1f346bc098dcf8c4051ca8a96c1"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "fe2156a9ac9e49cae44132552ce6e52aee14104c"
            },
            {
              "fixed": "83ba111e7bb2c1f346bc098dcf8c4051ca8a96c1"
            },
            {
              "fixed": "fe2156a9ac9e49cae44132552ce6e52aee14104c"
            }
          ],
          "repo": "https://github.com/ash-project/ash",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-hg4m-9gg5-r5hj"
  ],
  "database_specific": {
    "cna_assigner": "EEF",
    "cwe_ids": [
      "CWE-863"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137159.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "range": [
              {
                "introduced": "2.17.20"
              },
              {
                "fixed": "3.39.0"
              }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
          }
        ]
      }
    ]
  },
  "details": "Incorrect Authorization vulnerability in ash-project ash allows an actor to learn about related records they cannot read from which rows an atomic bulk update or destroy changes.\n\nAsh.Actions.Update.Bulk (lib/ash/actions/update/bulk.ex) and Ash.Actions.Destroy.Bulk (lib/ash/actions/destroy/bulk.ex) authorized the query of an atomic bulk update or destroy with the resource's own read policy, but did not add the read policies of the related records its filter references. A read of the same query adds them, for relationship references from Ash.Query.filter_input/2 and for aggregates. A caller who controls the filter could therefore match rows on related data they cannot read, one condition at a time. The rows changed are rows the caller may change anyway.\n\nThis issue affects ash: from 2.17.20 before 3.39.0.",
  "id": "CVE-2026-137159",
  "modified": "2026-12-03T07:46:04.544694317Z",
  "published": "2026-12-03T05:57:43.603Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://cna.erlef.org/cves/CVE-2026-137159.html"
    },
    {
      "type": "WEB",
      "url": "https://github.com"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137159.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/ash-project/ash"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ash-project/ash/commit/83ba111e7bb2c1f346bc098dcf8c4051ca8a96c1"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ash-project/ash/commit/fe2156a9ac9e49cae44132552ce6e52aee14104c"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/ash-project/ash/security/advisories/GHSA-hg4m-9gg5-r5hj"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-137159"
    },
    {
      "type": "WEB",
      "url": "https://osv.dev/vulnerability/EEF-CVE-2026-137159"
    },
    {
      "type": "WEB",
      "url": "https://repo.hex.pm"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Atomic bulk update and destroy in Ash skip the read policies of related records in the filter, disclosing them through which rows change"
}