{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-82367",
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "state": "PUBLISHED",
        "assignerShortName": "EEF",
        "dateReserved": "2026-08-30T17:15:01.277Z",
        "datePublished": "2026-08-30T18:17:13.538Z",
        "dateUpdated": "2026-08-30T18:17:13.538Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "collectionURL": "https://repo.hex.pm",
                    "cpes": [
                        "cpe:2.3:a:ash-project:ash_graphql:*:*:*:*:*:*:*:*"
                    ],
                    "defaultStatus": "unaffected",
                    "modules": [
                        "'Elixir.AshGraphql.Subscription.Batcher'"
                    ],
                    "packageName": "ash_graphql",
                    "packageURL": "pkg:hex/ash_graphql",
                    "product": "ash_graphql",
                    "programFiles": [
                        "lib/subscription/batcher.ex"
                    ],
                    "programRoutines": [
                        {
                            "name": "'Elixir.AshGraphql.Subscription.Batcher':do_send/5"
                        }
                    ],
                    "repo": "https://github.com/ash-project/ash_graphql",
                    "vendor": "ash-project",
                    "versions": [
                        {
                            "lessThan": "1.11.0",
                            "status": "affected",
                            "version": "1.4.0",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "collectionURL": "https://github.com",
                    "cpes": [
                        "cpe:2.3:a:ash-project:ash_graphql:*:*:*:*:*:*:*:*"
                    ],
                    "defaultStatus": "unaffected",
                    "modules": [
                        "'Elixir.AshGraphql.Subscription.Batcher'"
                    ],
                    "packageName": "ash-project/ash_graphql",
                    "packageURL": "pkg:github/ash-project/ash_graphql",
                    "product": "ash_graphql",
                    "programFiles": [
                        "lib/subscription/batcher.ex"
                    ],
                    "programRoutines": [
                        {
                            "name": "'Elixir.AshGraphql.Subscription.Batcher':do_send/5"
                        }
                    ],
                    "repo": "https://github.com/ash-project/ash_graphql",
                    "vendor": "ash-project",
                    "versions": [
                        {
                            "lessThan": "b798ef5288664a0261990b19765558f168b718fb",
                            "status": "affected",
                            "version": "3cb2c9870d050c7c4bba6c211aaed97d732f7e81",
                            "versionType": "git"
                        }
                    ]
                }
            ],
            "configurations": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "<p>The application uses <code>ash_graphql</code> subscriptions where a subscription resolver's execution can itself emit an Ash notification, and delivery takes the synchronous <code>:backpressure_sync</code> or <code>:noproc</code> (missing-batcher) path rather than a library-owned task.</p>"
                        },
                        {
                            "base64": false,
                            "type": "text/markdown",
                            "value": "The application uses `ash_graphql` subscriptions where a subscription resolver's execution can itself emit an Ash notification, and delivery takes the synchronous `:backpressure_sync` or `:noproc` (missing-batcher) path rather than a library-owned task."
                        }
                    ],
                    "value": "The application uses ash_graphql subscriptions where a subscription resolver's execution can itself emit an Ash notification, and delivery takes the synchronous :backpressure_sync or :noproc (missing-batcher) path rather than a library-owned task."
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "cpeMatch": [
                                {
                                    "criteria": "cpe:2.3:a:ash-project:ash_graphql:*:*:*:*:*:*:*:*",
                                    "versionEndExcluding": "1.11.0",
                                    "versionStartIncluding": "1.4.0",
                                    "vulnerable": true
                                }
                            ],
                            "negate": false,
                            "operator": "OR"
                        }
                    ],
                    "operator": "AND"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "type": "finder",
                    "value": "Peter Ullrich"
                },
                {
                    "lang": "en",
                    "type": "reporter",
                    "value": "Peter Ullrich"
                },
                {
                    "lang": "en",
                    "type": "remediation developer",
                    "value": "Zach Daniel / Ash Project"
                },
                {
                    "lang": "en",
                    "type": "coordinator",
                    "value": "Jonatan Männchen / EEF"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "<p>Exposure of Data Element to Wrong Session vulnerability in ash-project ash_graphql can deliver one subscription's resolved records to a different subscriber's topic.</p>\n<p><code>AshGraphql.Subscription.Batcher.do_send/5</code> reads the resolved batch from the process dictionary via <code>Process.get(:batch_resolved)</code> and then unconditionally deletes it. That is sound only inside a task the library owns. On the <code>:backpressure_sync</code> and <code>:noproc</code> fallbacks <code>do_send/5</code> runs inline in the publishing caller's process, so if a resolver inside an outer <code>do_send/5</code> triggers another synchronous Ash notification, the inner call finds the outer run's value still under <code>:batch_resolved</code>, adopts it as its own result, and publishes it to the inner <code>topic</code>, a different subscription document with a different actor and tenant. It then deletes the key, so the outer run publishes nothing. The key is not namespaced by run, so records cannot be told apart. The fix saves, clears, and restores <code>:batch_resolved</code> around each run.</p>\n<p>This issue affects ash_graphql: from 1.4.0 before 1.11.0.</p>"
                        },
                        {
                            "base64": false,
                            "type": "text/markdown",
                            "value": "Exposure of Data Element to Wrong Session vulnerability in ash-project ash_graphql can deliver one subscription's resolved records to a different subscriber's topic.\n\n`AshGraphql.Subscription.Batcher.do_send/5` reads the resolved batch from the process dictionary via `Process.get(:batch_resolved)` and then unconditionally deletes it. That is sound only inside a task the library owns. On the `:backpressure_sync` and `:noproc` fallbacks `do_send/5` runs inline in the publishing caller's process, so if a resolver inside an outer `do_send/5` triggers another synchronous Ash notification, the inner call finds the outer run's value still under `:batch_resolved`, adopts it as its own result, and publishes it to the inner `topic`, a different subscription document with a different actor and tenant. It then deletes the key, so the outer run publishes nothing. The key is not namespaced by run, so records cannot be told apart. The fix saves, clears, and restores `:batch_resolved` around each run.\n\nThis issue affects ash_graphql: from 1.4.0 before 1.11.0."
                        }
                    ],
                    "value": "Exposure of Data Element to Wrong Session vulnerability in ash-project ash_graphql can deliver one subscription's resolved records to a different subscriber's topic.\n\nAshGraphql.Subscription.Batcher.do_send/5 reads the resolved batch from the process dictionary via Process.get(:batch_resolved) and then unconditionally deletes it. That is sound only inside a task the library owns. On the :backpressure_sync and :noproc fallbacks do_send/5 runs inline in the publishing caller's process, so if a resolver inside an outer do_send/5 triggers another synchronous Ash notification, the inner call finds the outer run's value still under :batch_resolved, adopts it as its own result, and publishes it to the inner topic, a different subscription document with a different actor and tenant. It then deletes the key, so the outer run publishes nothing. The key is not namespaced by run, so records cannot be told apart. The fix saves, clears, and restores :batch_resolved around each run.\n\nThis issue affects ash_graphql: from 1.4.0 before 1.11.0."
                }
            ],
            "impacts": [
                {
                    "capecId": "CAPEC-12",
                    "descriptions": [
                        {
                            "lang": "en",
                            "value": "CAPEC-12 Choosing Message Identifier"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "Automatable": "NOT_DEFINED",
                        "Recovery": "NOT_DEFINED",
                        "Safety": "NOT_DEFINED",
                        "attackComplexity": "HIGH",
                        "attackRequirements": "PRESENT",
                        "attackVector": "NETWORK",
                        "baseScore": 2.3,
                        "baseSeverity": "LOW",
                        "privilegesRequired": "LOW",
                        "providerUrgency": "NOT_DEFINED",
                        "subAvailabilityImpact": "NONE",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "userInteraction": "NONE",
                        "valueDensity": "NOT_DEFINED",
                        "vectorString": "CVSS:4.0/AV:N/AC:H/AT:P/PR:L/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-488",
                            "description": "CWE-488 Exposure of Data Element to Wrong Session",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
                "shortName": "EEF",
                "dateUpdated": "2026-08-30T18:17:13.538Z"
            },
            "references": [
                {
                    "tags": [
                        "vendor-advisory",
                        "related"
                    ],
                    "url": "https://github.com/ash-project/ash_graphql/security/advisories/GHSA-wm4m-cjmc-5v8c"
                },
                {
                    "tags": [
                        "related"
                    ],
                    "url": "https://cna.erlef.org/cves/CVE-2026-82367.html"
                },
                {
                    "tags": [
                        "related"
                    ],
                    "url": "https://osv.dev/vulnerability/EEF-CVE-2026-82367"
                },
                {
                    "tags": [
                        "patch"
                    ],
                    "url": "https://github.com/ash-project/ash_graphql/commit/b798ef5288664a0261990b19765558f168b718fb"
                }
            ],
            "source": {
                "discovery": "EXTERNAL"
            },
            "title": "Re-entrant synchronous publish in AshGraphql subscription batcher delivers one subscriber's records to another's topic"
        }
    }
}