{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-82748",
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "state": "PUBLISHED",
        "assignerShortName": "EEF",
        "dateReserved": "2026-08-31T01:00:09.774Z",
        "datePublished": "2026-09-01T03:52:01.686Z",
        "dateUpdated": "2026-09-01T15:17:47.434Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "collectionURL": "https://repo.hex.pm",
                    "cpes": [
                        "cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*"
                    ],
                    "defaultStatus": "unaffected",
                    "modules": [
                        "'Elixir.Ash.Actions.Aggregate'"
                    ],
                    "packageName": "ash",
                    "packageURL": "pkg:hex/ash",
                    "product": "ash",
                    "programFiles": [
                        "lib/ash/actions/aggregate.ex"
                    ],
                    "programRoutines": [
                        {
                            "name": "'Elixir.Ash.Actions.Aggregate':run/4"
                        }
                    ],
                    "repo": "https://github.com/ash-project/ash",
                    "vendor": "ash-project",
                    "versions": [
                        {
                            "lessThan": "3.32.2",
                            "status": "affected",
                            "version": "3.5.13",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "collectionURL": "https://github.com",
                    "cpes": [
                        "cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*"
                    ],
                    "defaultStatus": "unaffected",
                    "modules": [
                        "'Elixir.Ash.Actions.Aggregate'"
                    ],
                    "packageName": "ash-project/ash",
                    "packageURL": "pkg:github/ash-project/ash",
                    "product": "ash",
                    "programFiles": [
                        "lib/ash/actions/aggregate.ex"
                    ],
                    "programRoutines": [
                        {
                            "name": "'Elixir.Ash.Actions.Aggregate':run/4"
                        }
                    ],
                    "repo": "https://github.com/ash-project/ash",
                    "vendor": "ash-project",
                    "versions": [
                        {
                            "lessThan": "2d9b78b87d2dc72885a8aa1d660b478d42f749f7",
                            "status": "affected",
                            "version": "d2e99980380cad610dbab3c4167e85323244bc71",
                            "versionType": "git"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "cpeMatch": [
                                {
                                    "criteria": "cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*",
                                    "versionEndExcluding": "3.32.2",
                                    "versionStartIncluding": "3.5.13",
                                    "vulnerable": true
                                }
                            ],
                            "negate": false,
                            "operator": "OR"
                        }
                    ],
                    "operator": "AND"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "type": "coordinator",
                    "value": "Jonatan Männchen / EEF"
                },
                {
                    "lang": "en",
                    "type": "remediation developer",
                    "value": "Zach Daniel / Ash Project"
                },
                {
                    "lang": "en",
                    "type": "reporter",
                    "value": "Peter Ullrich"
                },
                {
                    "lang": "en",
                    "type": "finder",
                    "value": "Peter Ullrich"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "<p>Incorrect Authorization vulnerability in ash-project ash authorizes an aggregate under one read action while computing it under another, so an aggregate can run with policies that do not match the action it was authorized against.</p>\n<p><code>Ash.Actions.Aggregate</code> groups aggregates by their <code>{authorize?, read_action}</code> and authorizes each group under that read action, but when building the data query it selected the action as <code>opts[:action] || read_action || &lt;primary read&gt;</code> (<code>lib/ash/actions/aggregate.ex</code>). When a caller passed an <code>:action</code> option, the aggregate query ran under that action while authorization had been computed for the group's own <code>read_action</code>. If the run action's read policies are more permissive than the authorized one, the aggregate (a count or sum) is computed over records the authorized action's policies would have excluded, disclosing information about data the actor cannot read. The fix runs the aggregate under the same <code>read_action</code> it is authorized against.</p>\n<p>This issue affects ash: from 3.5.13 before 3.32.2.</p>"
                        },
                        {
                            "base64": false,
                            "type": "text/markdown",
                            "value": "Incorrect Authorization vulnerability in ash-project ash authorizes an aggregate under one read action while computing it under another, so an aggregate can run with policies that do not match the action it was authorized against.\n\n`Ash.Actions.Aggregate` groups aggregates by their `{authorize?, read_action}` and authorizes each group under that read action, but when building the data query it selected the action as `opts[:action] || read_action || <primary read>` (`lib/ash/actions/aggregate.ex`). When a caller passed an `:action` option, the aggregate query ran under that action while authorization had been computed for the group's own `read_action`. If the run action's read policies are more permissive than the authorized one, the aggregate (a count or sum) is computed over records the authorized action's policies would have excluded, disclosing information about data the actor cannot read. The fix runs the aggregate under the same `read_action` it is authorized against.\n\nThis issue affects ash: from 3.5.13 before 3.32.2."
                        }
                    ],
                    "value": "Incorrect Authorization vulnerability in ash-project ash authorizes an aggregate under one read action while computing it under another, so an aggregate can run with policies that do not match the action it was authorized against.\n\nAsh.Actions.Aggregate groups aggregates by their {authorize?, read_action} and authorizes each group under that read action, but when building the data query it selected the action as opts[:action] || read_action || <primary read> (lib/ash/actions/aggregate.ex). When a caller passed an :action option, the aggregate query ran under that action while authorization had been computed for the group's own read_action. If the run action's read policies are more permissive than the authorized one, the aggregate (a count or sum) is computed over records the authorized action's policies would have excluded, disclosing information about data the actor cannot read. The fix runs the aggregate under the same read_action it is authorized against.\n\nThis issue affects ash: from 3.5.13 before 3.32.2."
                }
            ],
            "impacts": [
                {
                    "capecId": "CAPEC-1",
                    "descriptions": [
                        {
                            "lang": "en",
                            "value": "CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "Automatable": "NOT_DEFINED",
                        "Recovery": "NOT_DEFINED",
                        "Safety": "NOT_DEFINED",
                        "attackComplexity": "LOW",
                        "attackRequirements": "PRESENT",
                        "attackVector": "LOCAL",
                        "baseScore": 2.1,
                        "baseSeverity": "LOW",
                        "privilegesRequired": "NONE",
                        "providerUrgency": "NOT_DEFINED",
                        "subAvailabilityImpact": "NONE",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "userInteraction": "NONE",
                        "valueDensity": "NOT_DEFINED",
                        "vectorString": "CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N",
                        "version": "4.0",
                        "vulnAvailabilityImpact": "NONE",
                        "vulnConfidentialityImpact": "LOW",
                        "vulnIntegrityImpact": "NONE",
                        "vulnerabilityResponseEffort": "NOT_DEFINED"
                    },
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-863",
                            "description": "CWE-863 Incorrect Authorization",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
                "shortName": "EEF",
                "dateUpdated": "2026-09-01T03:52:01.686Z"
            },
            "references": [
                {
                    "tags": [
                        "vendor-advisory",
                        "related"
                    ],
                    "url": "https://github.com/ash-project/ash/security/advisories/GHSA-g5hp-mghm-3mgp"
                },
                {
                    "tags": [
                        "related"
                    ],
                    "url": "https://cna.erlef.org/cves/CVE-2026-82748.html"
                },
                {
                    "tags": [
                        "related"
                    ],
                    "url": "https://osv.dev/vulnerability/EEF-CVE-2026-82748"
                },
                {
                    "tags": [
                        "patch"
                    ],
                    "url": "https://github.com/ash-project/ash/commit/2d9b78b87d2dc72885a8aa1d660b478d42f749f7"
                }
            ],
            "source": {
                "discovery": "EXTERNAL"
            },
            "title": "Ash.Actions.Aggregate authorizes an aggregate under one action but computes it under another"
        },
        "adp": [
            {
                "references": [
                    {
                        "url": "https://github.com/ash-project/ash/security/advisories/GHSA-g5hp-mghm-3mgp",
                        "tags": [
                            "exploit"
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-09-01T15:17:28.654451Z",
                                "id": "CVE-2026-82748",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-09-01T15:17:47.434Z"
                }
            }
        ]
    }
}