CVE-2026-137159

Source
https://cve.org/CVERecord?id=CVE-2026-137159
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-137159.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-137159
Aliases
Published
2026-12-03T05:57:43Z
Modified
2026-12-03T08:00:08Z
Severity
  • 5.9 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
Atomic bulk update and destroy in Ash skip the read policies of related records in the filter, disclosing them through which rows change
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.

Ash.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.

This issue affects ash: from 2.17.20 before 3.39.0.

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"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/ash-project/ash

Affected ranges

Type
GIT
Repo
https://github.com/ash-project/ash
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "fe2156a9ac9e49cae44132552ce6e52aee14104c"
                },
                {
                    "fixed":  "83ba111e7bb2c1f346bc098dcf8c4051ca8a96c1"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "fixed":  "fe2156a9ac9e49cae44132552ce6e52aee14104c"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "83ba111e7bb2c1f346bc098dcf8c4051ca8a96c1"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-137159.json"