# CVE-2026-123798: SuperTokens Core: SAML XML Signature Wrapping authentication bypass — any IdP user can authenticate as any other 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-347
- **Published:** 2026-11-09T18:04:20.419Z
- **Modified:** 2026-11-13T13:17:58.753Z

## Who should check

- Anyone running supertokens-core \>= 12.0.6, \< 12.0.10; \>= 11.4.0, \< 11.4.7; \>= 11.3.0, \< 11.3.7

## Description

SuperTokens Core is an open source authentication server. From 11.3.0 until 11.3.7, 11.4.7, and 12.0.10, SAML.verifySamlResponseSignature calls OpenSAML SignatureValidator.validate without first applying SAMLSignatureProfileValidator. The Core can therefore accept a cryptographically valid signature that references a different XML element from the Response or Assertion whose NameID and attributes are used for authentication. An ordinary user of the configured identity provider can move a genuinely signed element elsewhere in the document while supplying an attacker-authored identity-bearing element, causing XML Signature Wrapping authentication as another IdP user. Both response-level and assertion-level signing paths are affected, and SP-initiated login remains reachable without enabling allowIDPInitiatedLogin. This issue is fixed in versions 11.3.7, 11.4.7, and 12.0.10.

## Affected and fixed versions

- supertokens-core: \>= 12.0.6, \< 12.0.10; \>= 11.4.0, \< 11.4.7; \>= 11.3.0, \< 11.3.7 (cvelist)

## Mitigation

- Upgrade supertokens-core to 11.3.7 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-123798. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-123798.md
Affected: supertokens-core >= 12.0.6, < 12.0.10; >= 11.4.0, < 11.4.7; >= 11.3.0, < 11.3.7
Fixed in: supertokens-core 12.0.10, supertokens-core 11.4.7, supertokens-core 11.3.7

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-123798 being exploited?

There is no confirmed exploitation: CVE-2026-123798 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-123798?

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

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

supertokens-core \>= 12.0.6, \< 12.0.10; \>= 11.4.0, \< 11.4.7; \>= 11.3.0, \< 11.3.7.

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

Yes. Fixed in supertokens-core 12.0.10, supertokens-core 11.4.7, supertokens-core 11.3.7. Upgrade supertokens-core to 11.3.7 or later.

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

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-gvx2-mwmj-wwvj>
- patch: <https://github.com/supertokens/supertokens-core/commit/8d06b0cfb5409c5bf505051ddfcb94d66367caae>
- patch: <https://github.com/supertokens/supertokens-core/commit/9cba541ae2ed87b878d11b257bc9b8b78341f50a>
- patch: <https://github.com/supertokens/supertokens-core/commit/d0773f2a6497411aeda5d4f03d3d135a2a3ae79c>
- other: <https://github.com/supertokens/supertokens-core/releases/tag/v11.3.7>
- other: <https://github.com/supertokens/supertokens-core/releases/tag/v11.4.7>
- other: <https://github.com/supertokens/supertokens-core/releases/tag/v12.0.10>

## 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-123798>

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