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

Summary

CVECVE-2026-123802
StatePUBLISHED
AssignerGitHub_M
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-09 19:16:47 UTC
Updated2026-11-09 19:16:47 UTC
DescriptionSuperTokens 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.

Risk And Classification

Primary CVSS: v3.1 8.1 HIGH from [email protected]

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Problem Types: CWE-287 | CWE-345 | CWE-1220 | CWE-287 CWE-287: Improper Authentication | CWE-345 CWE-345: Insufficient Verification of Data Authenticity | CWE-1220 CWE-1220: Insufficient Granularity of Access Control


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary8.1HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
3.1CNADECLARED8.1HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Supertokens Supertokens-core affected >= 11.3.0, < 11.3.8 Not specified
CNA Supertokens Supertokens-core affected >= 11.4.0, < 11.4.8 Not specified
CNA Supertokens Supertokens-core affected >= 12.0.0, < 12.0.11 Not specified
CNA Supertokens Supertokens-core affected >= 12.1.0, < 12.1.2 Not specified
CNA Supertokens Supertokens-core affected >= 12.2.0, < 12.2.1 Not specified
CNA Supertokens Supertokens-core affected >= 12.3.0, < 12.3.1 Not specified

References

ReferenceSourceLinkTags
github.com/supertokens/supertokens-core/releases/tag/v12.2.1 [email protected] github.com
github.com/supertokens/supertokens-core/releases/tag/v12.3.1 [email protected] github.com
github.com/supertokens/supertokens-core/releases/tag/v12.0.11 [email protected] github.com
github.com/supertokens/supertokens-core/commit/a2483b692d43294fdb9ad2f8f... [email protected] github.com
github.com/supertokens/supertokens-core/security/advisories/GHSA-wfg2-vq... [email protected] github.com
github.com/supertokens/supertokens-core/commit/53f42f496477e7cc3ccd48fe5... [email protected] github.com
github.com/supertokens/supertokens-core/commit/b21760ceb5089b0fa30c8fd46... [email protected] github.com
github.com/supertokens/supertokens-core/commit/1d0fd5b40848629295cf86d47... [email protected] github.com
github.com/supertokens/supertokens-core/releases/tag/v11.4.8 [email protected] github.com
github.com/supertokens/supertokens-core/commit/1645915320c5dfc22bce9029e... [email protected] github.com
github.com/supertokens/supertokens-core/releases/tag/v11.3.8 [email protected] github.com
github.com/supertokens/supertokens-core/commit/00a15e045323ba8a566ca6f59... [email protected] github.com
github.com/supertokens/supertokens-core/commit/f4ddc022ef1ee17933efb710c... [email protected] github.com
github.com/supertokens/supertokens-core/commit/324686349b21ab46fe465ca5f... [email protected] github.com
github.com/supertokens/supertokens-core/releases/tag/v12.1.2 [email protected] github.com
github.com/supertokens/supertokens-core/commit/8e69a85e38709b832869c3bfc... [email protected] github.com
github.com/supertokens/supertokens-core/commit/5ffdd887b470035f409d61f85... [email protected] github.com
github.com/supertokens/supertokens-core/commit/c77b13061176d9bd50ed24a9c... [email protected] github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report