Skip to content
Heist/ feed
Back to feed
Low

Re-entrant synchronous publish in AshGraphql subscription batcher delivers one subscriber's records to another's topic

Type: advisorySources: OSV

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. 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. This issue affects ash_graphql: from 1.4.0 before 1.11.0.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-82367
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 02:24 UTC · Revision 1

Source evidence

Re-entrant synchronous publish in AshGraphql subscription batcher delivers one subscriber's records to another's topic

core-osv · Original source

Published 30 Aug 2026, 18:17 UTC

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. 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. This issue affects ash_graphql: from 1.4.0 before 1.11.0.

osv:CVE-2026-82367
Complete source record
{
  "id": "f9cb13de8041b93f44549c52cd69e65d93d5ec7b60e5c32fb6bf6edf8a4f1bec",
  "url": "https://osv.dev/vulnerability/CVE-2026-82367",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Re-entrant synchronous publish in AshGraphql subscription batcher delivers one subscriber's records to another's topic",
    "summary": "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. 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. This issue affects ash_graphql: from 1.4.0 before 1.11.0.",
    "evidence": "osv:CVE-2026-82367",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2026-82367",
      "aliases": [
        "CVE-2026-82367",
        "EEF-CVE-2026-82367",
        "GHSA-wm4m-cjmc-5v8c"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/ash-project/ash_graphql",
              "type": "GIT",
              "events": [
                {
                  "introduced": "3cb2c9870d050c7c4bba6c211aaed97d732f7e81"
                },
                {
                  "fixed": "b798ef5288664a0261990b19765558f168b718fb"
                },
                {
                  "introduced": "cb2296922d48705a7bbabd92daa1ec240cab1e66"
                },
                {
                  "fixed": "4e2c5476ecfd2c701488627ee46e6eefc58c982e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "3cb2c9870d050c7c4bba6c211aaed97d732f7e81"
                      },
                      {
                        "fixed": "b798ef5288664a0261990b19765558f168b718fb"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.4.0"
                      },
                      {
                        "fixed": "1.11.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "fixed": "b798ef5288664a0261990b19765558f168b718fb"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.10.1",
            "v1.10.0",
            "v1.9.4",
            "v1.9.3",
            "v1.9.2",
            "v1.9.1",
            "v1.9.0",
            "v1.8.5",
            "v1.8.4",
            "v1.8.3",
            "v1.8.2",
            "v1.8.1",
            "v1.8.0",
            "v1.7.17",
            "v1.7.16",
            "v1.7.15",
            "v1.7.14",
            "v1.7.13",
            "v1.7.12",
            "v1.7.11",
            "v1.7.10",
            "v1.7.9",
            "v1.7.8",
            "v1.7.7",
            "v1.7.6",
            "v1.7.5",
            "v1.7.4",
            "v1.7.3",
            "v1.7.2",
            "v1.7.1",
            "v1.7.0",
            "v1.6.0",
            "v1.5.1",
            "v1.5.0",
            "v1.4.7",
            "v1.4.6",
            "v1.4.4",
            "v1.4.3",
            "v1.4.2",
            "v1.4.1",
            "v1.4.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-82367.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:46.226606250Z",
      "provider": "osv",
      "references": [
        "https://cna.erlef.org/cves/CVE-2026-82367.html",
        "https://github.com",
        "https://osv.dev/vulnerability/EEF-CVE-2026-82367",
        "https://repo.hex.pm",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82367.json",
        "https://github.com/ash-project/ash_graphql/security/advisories/GHSA-wm4m-cjmc-5v8c",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-82367",
        "https://github.com/ash-project/ash_graphql/commit/b798ef5288664a0261990b19765558f168b718fb",
        "https://github.com/ash-project/ash_graphql"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-488"
        ],
        "cna_assigner": "EEF",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82367.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-82367",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 514256,
  "published_at": "2026-08-30T18:17:13.538+00:00"
}