# SuperTokens Core: SAML callback accepts a replayed RelayState + SAMLResponse, minting a fresh authorization code on each replay

CVE record · `CVE-2026-123801`

- **Identifiers:** `CVE-2026-123801`
- **State:** Confirmed
- **Severity:** CVSS 7.4 High
- **Critical:** No
- **CNA:** GitHub_M
- **Weakness (CWE):** [CWE-294](https://cwe.mitre.org/data/definitions/294.html) · [CWE-346](https://cwe.mitre.org/data/definitions/346.html) · [CWE-384](https://cwe.mitre.org/data/definitions/384.html)
- **Tags:** [Authentication bypass](https://agentprime.io/advisories/tag/auth-bypass.md) · [CWE-346](https://agentprime.io/advisories/tag/cwe-346.md)
- **Technologies:** [supertokens-core](https://agentprime.io/advisories/technology/supertokens-core.md)
- **Published:** 9 Nov 2026
- **Updated:** 10 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: GitHub_M) at 9 Nov 2026, 18:18 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: supertokens. Product: supertokens-core.
  - affected: `>= 11.3.0, < 11.3.8`
  - affected: `>= 11.4.0, < 11.4.8`
  - affected: `>= 12.0.0, < 12.0.11`
  - affected: `>= 12.1.0, < 12.1.2`
  - affected: `>= 12.2.0, < 12.2.1`
  - affected: `>= 12.3.0, < 12.3.1`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> SuperTokens Core versions 11.3.0 up to 11.3.8, 11.4.0 up to 11.4.8, 12.0.0 up to 12.0.11, 12.1.0 up to 12.1.2, 12.2.0 up to 12.2.1, and 12.3.0 up to 12.3.1 are affected. An attacker who obtains a valid SAML response and its RelayState can resubmit them to the SAML callback before the assertion expires, and each replay yields a new authorization code for the captured user's identity. Upgrade to 11.3.8, 11.4.8, 12.0.11, 12.1.2, 12.2.1, or 12.3.1 depending on your release line.

Written 19 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 7.4 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0035, the 29th percentile, on 22 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 9 Nov 2026, 18:18 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2026-123801)
- 9 Nov 2026, 18:33 UTC: First seen by agentprime
- 9 Nov 2026, 19:16 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-123801)

## Sources

- [CVE List: CVE-2026-123801](https://www.cve.org/CVERecord?id=CVE-2026-123801)
- [NVD: CVE-2026-123801](https://nvd.nist.gov/vuln/detail/CVE-2026-123801)

### References from the CNA

- <https://github.com/supertokens/supertokens-core/security/advisories/GHSA-3r7x-rhvc-fw28> (confirm)
- <https://github.com/supertokens/supertokens-core/commit/075655222f5e72f3683a127e45c83c4174fbd4f7>
- <https://github.com/supertokens/supertokens-core/commit/4e05d8cf60287e9d2720140031a8b8f4430d056f>
- <https://github.com/supertokens/supertokens-core/commit/557835406547d269f5d0e33159630a1873461c38>
- <https://github.com/supertokens/supertokens-core/commit/5c42f02e98f67174c6a5a800dd9f8bd5b6e98486>
- <https://github.com/supertokens/supertokens-core/commit/b6730e608b2d4562939cd4f41ea07df5f841dfe5>
- <https://github.com/supertokens/supertokens-core/commit/ca2bca9bc900c2fd399d508818ad026cc977dcf6>
- <https://github.com/supertokens/supertokens-core/releases/tag/v11.3.8>
- <https://github.com/supertokens/supertokens-core/releases/tag/v11.4.8>
- <https://github.com/supertokens/supertokens-core/releases/tag/v12.0.11>
- <https://github.com/supertokens/supertokens-core/releases/tag/v12.1.2>
- <https://github.com/supertokens/supertokens-core/releases/tag/v12.2.1>
- <https://github.com/supertokens/supertokens-core/releases/tag/v12.3.1>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2026-123801>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2026-123801/>. Everything for agents: <https://agentprime.io/llms.txt>.
