# CVE-2026-123802: SuperTokens Core SAML: identity taken from an assertion that never passed the audience check, allowing sign-in as any IdP user

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.1
- **CVSS:** 8.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.37% (percentile 23, 2026-11-26)
- **CWE:** CWE-287, CWE-345, CWE-1220
- **Published:** 2026-11-09T18:23:40.216Z
- **Modified:** 2026-11-13T13:17:59.817Z

## Who should check

- Anyone running supertokens-core \>= 11.3.0, \< 11.3.8; \>= 11.4.0, \< 11.4.8; \>= 12.0.0, \< 12.0.11; \>= 12.1.0, \< 12.1.2; \>= 12.2.0, \< 12.2.1; \>= 12.3.0, \< 12.3.1

## Description

SuperTokens Core is an open source authentication server. From 11.3.0 until 11.3.8, 11.4.8, 12.0.11, 12.1.2, 12.2.1, and 12.3.1, a licensed deployment with a configured SAML client can authenticate an identity from an assertion that did not satisfy the audience check. When the identity provider uses assertion-level signing, an attacker who has a still-valid IdP-signed assertion naming the victim for any audience and the attacker's own valid assertion for the target audience can combine them because validateSamlResponseAudience accepts an audience from one assertion while extractAllClaims takes the final NameID and attributes from another; response-level signing does not expose this multi-assertion variant. Independently, an assertion from an identity provider configured for the target deployment but issued to another SuperTokens deployment using the shared default saml\_sp\_entity\_id can satisfy the target's audience check. Successful exploitation authenticates the attacker as the victim IdP user. This issue is fixed in versions 11.3.8, 11.4.8, 12.0.11, 12.1.2, 12.2.1, and 12.3.1.

## Affected and fixed versions

- supertokens-core: \>= 11.3.0, \< 11.3.8; \>= 11.4.0, \< 11.4.8; \>= 12.0.0, \< 12.0.11; \>= 12.1.0, \< 12.1.2; \>= 12.2.0, \< 12.2.1; \>= 12.3.0, \< 12.3.1 (cvelist)

## Mitigation

- Upgrade supertokens-core to 12.3.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-123802. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-123802.md
Affected: supertokens-core >= 11.3.0, < 11.3.8; >= 11.4.0, < 11.4.8; >= 12.0.0, < 12.0.11; >= 12.1.0, < 12.1.2; >= 12.2.0, < 12.2.1; >= 12.3.0, < 12.3.1
Fixed in: supertokens-core 11.3.8, supertokens-core 11.4.8, supertokens-core 12.0.11, supertokens-core 12.1.2, supertokens-core 12.2.1, supertokens-core 12.3.1

Steps:
1. Search this machine and project for supertokens-core: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-123802 being exploited?

There is no confirmed exploitation: CVE-2026-123802 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.37% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-123802?

High: CVSS 8.1 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-123802?

supertokens-core \>= 11.3.0, \< 11.3.8; \>= 11.4.0, \< 11.4.8; \>= 12.0.0, \< 12.0.11; \>= 12.1.0, \< 12.1.2; \>= 12.2.0, \< 12.2.1; \>= 12.3.0, \< 12.3.1.

### Is there a fix for CVE-2026-123802?

Yes. Fixed in supertokens-core 11.3.8, supertokens-core 11.4.8, supertokens-core 12.0.11, supertokens-core 12.1.2, supertokens-core 12.2.1, supertokens-core 12.3.1. Upgrade supertokens-core to 12.3.1 or later.

### How do I check if I'm affected by CVE-2026-123802?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/supertokens/supertokens-core/security/advisories/GHSA-wfg2-vqfg-rqh6>
- patch: <https://github.com/supertokens/supertokens-core/commit/00a15e045323ba8a566ca6f59b70125b4030ab6c>
- patch: <https://github.com/supertokens/supertokens-core/commit/1645915320c5dfc22bce9029eb7d8364f8df402f>
- patch: <https://github.com/supertokens/supertokens-core/commit/1d0fd5b40848629295cf86d47be185f92f31e445>
- patch: <https://github.com/supertokens/supertokens-core/commit/324686349b21ab46fe465ca5f74294d6c68d3859>
- patch: <https://github.com/supertokens/supertokens-core/commit/53f42f496477e7cc3ccd48fe57851fa08d06a248>
- patch: <https://github.com/supertokens/supertokens-core/commit/5ffdd887b470035f409d61f85f2186381ad9cdd6>
- patch: <https://github.com/supertokens/supertokens-core/commit/8e69a85e38709b832869c3bfc83df9a150d6f3cf>
- patch: <https://github.com/supertokens/supertokens-core/commit/a2483b692d43294fdb9ad2f8f6f831cca8300081>
- patch: <https://github.com/supertokens/supertokens-core/commit/b21760ceb5089b0fa30c8fd46f7bbfc680de56dd>
- patch: <https://github.com/supertokens/supertokens-core/commit/c77b13061176d9bd50ed24a9cf50ffbcdf332ee5>
- patch: <https://github.com/supertokens/supertokens-core/commit/f4ddc022ef1ee17933efb710c21a960cb4ada083>
- other: <https://github.com/supertokens/supertokens-core/releases/tag/v11.3.8>
- other: <https://github.com/supertokens/supertokens-core/releases/tag/v11.4.8>
- other: <https://github.com/supertokens/supertokens-core/releases/tag/v12.0.11>
- other: <https://github.com/supertokens/supertokens-core/releases/tag/v12.1.2>
- other: <https://github.com/supertokens/supertokens-core/releases/tag/v12.2.1>
- other: <https://github.com/supertokens/supertokens-core/releases/tag/v12.3.1>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-123802>

HTML: <https://flawdb.com/CVE-2026-123802> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-123802>
