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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-287",
"CWE-347"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123798.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "12.0.6"
},
{
"fixed": "12.0.10"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "11.4.0"
},
{
"fixed": "11.4.7"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "11.3.0"
},
{
"fixed": "11.3.7"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "8d06b0cfb5409c5bf505051ddfcb94d66367caae"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "9cba541ae2ed87b878d11b257bc9b8b78341f50a"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "d0773f2a6497411aeda5d4f03d3d135a2a3ae79c"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v11.3.7",
"range": [
{
"fixed": "ac96d07aee6b4b4daa0013c0889759e79d6c35f0"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "v11.4.7",
"range": [
{
"fixed": "db532a10439dd650372c4e99fe4087164afe1a28"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "v12.0.10",
"range": [
{
"fixed": "63240e572d6c3e5a84cfbed1f359f0f49d642ec8"
}
],
"source": "REFERENCES_TAG"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-123798.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "247353334864263500036226228233525511466",
"length": 762
},
"id": "CVE-2026-123798-2b6e45d2",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/supertokens/supertokens-core/commit/d0773f2a6497411aeda5d4f03d3d135a2a3ae79c",
"target": {
"file": "src/main/java/io/supertokens/saml/SAML.java",
"function": "verifySamlResponseSignature"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "247353334864263500036226228233525511466",
"length": 762
},
"id": "CVE-2026-123798-3c41344c",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/supertokens/supertokens-core/commit/9cba541ae2ed87b878d11b257bc9b8b78341f50a",
"target": {
"file": "src/main/java/io/supertokens/saml/SAML.java",
"function": "verifySamlResponseSignature"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "247353334864263500036226228233525511466",
"length": 762
},
"id": "CVE-2026-123798-91092802",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/supertokens/supertokens-core/commit/8d06b0cfb5409c5bf505051ddfcb94d66367caae",
"target": {
"file": "src/main/java/io/supertokens/saml/SAML.java",
"function": "verifySamlResponseSignature"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"299375293786195019211322408964320836916",
"253214133051615525979437560762297005235",
"212422873866400239250893528630319071100",
"273270361041159490976795282504369387984",
"265695180486753846036370867625154554910",
"245109405810574322233908771798496265452",
"134634617991787821289101353455740811559",
"309371346770889473006731265416375893889",
"100825451717539155246750477840550109348",
"53814818684296392341059582258309920396",
"300364356874245534414930139922047550502",
"315965041686235595245627477792099983195",
"218430269797517668644843316860585533647",
"271611704014275158079525864967414589435",
"66278187228689300289287670990901916689",
"108301367367645252803204796065895433849",
"306420138868215751966673952977364911364"
],
"threshold": 0.9
},
"id": "CVE-2026-123798-991eb1a6",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/supertokens/supertokens-core/commit/9cba541ae2ed87b878d11b257bc9b8b78341f50a",
"target": {
"file": "src/main/java/io/supertokens/saml/SAML.java"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"299375293786195019211322408964320836916",
"253214133051615525979437560762297005235",
"212422873866400239250893528630319071100",
"273270361041159490976795282504369387984",
"265695180486753846036370867625154554910",
"245109405810574322233908771798496265452",
"134634617991787821289101353455740811559",
"309371346770889473006731265416375893889",
"100825451717539155246750477840550109348",
"53814818684296392341059582258309920396",
"300364356874245534414930139922047550502",
"315965041686235595245627477792099983195",
"218430269797517668644843316860585533647",
"271611704014275158079525864967414589435",
"66278187228689300289287670990901916689",
"108301367367645252803204796065895433849",
"306420138868215751966673952977364911364"
],
"threshold": 0.9
},
"id": "CVE-2026-123798-a02aa6be",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/supertokens/supertokens-core/commit/d0773f2a6497411aeda5d4f03d3d135a2a3ae79c",
"target": {
"file": "src/main/java/io/supertokens/saml/SAML.java"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"299375293786195019211322408964320836916",
"253214133051615525979437560762297005235",
"212422873866400239250893528630319071100",
"273270361041159490976795282504369387984",
"265695180486753846036370867625154554910",
"245109405810574322233908771798496265452",
"134634617991787821289101353455740811559",
"309371346770889473006731265416375893889",
"100825451717539155246750477840550109348",
"53814818684296392341059582258309920396",
"300364356874245534414930139922047550502",
"315965041686235595245627477792099983195",
"218430269797517668644843316860585533647",
"271611704014275158079525864967414589435",
"66278187228689300289287670990901916689",
"108301367367645252803204796065895433849",
"306420138868215751966673952977364911364"
],
"threshold": 0.9
},
"id": "CVE-2026-123798-a3156211",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/supertokens/supertokens-core/commit/8d06b0cfb5409c5bf505051ddfcb94d66367caae",
"target": {
"file": "src/main/java/io/supertokens/saml/SAML.java"
}
}
]
"2026-11-15T07:04:15Z"