{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "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"
              }
            ]
          },
          "events": [
            {
              "introduced": "0f7bd544513290cb54150224f0bfdeb5d98cf7e1"
            },
            {
              "fixed": "63240e572d6c3e5a84cfbed1f359f0f49d642ec8"
            },
            {
              "introduced": "2b65d24196c2218e2d44f2b709695050d8097f52"
            },
            {
              "fixed": "db532a10439dd650372c4e99fe4087164afe1a28"
            },
            {
              "introduced": "c9e8287b300658af79ee7de2e5d2f7102d8ae144"
            },
            {
              "fixed": "ac96d07aee6b4b4daa0013c0889759e79d6c35f0"
            },
            {
              "fixed": "8d06b0cfb5409c5bf505051ddfcb94d66367caae"
            },
            {
              "fixed": "9cba541ae2ed87b878d11b257bc9b8b78341f50a"
            },
            {
              "fixed": "d0773f2a6497411aeda5d4f03d3d135a2a3ae79c"
            }
          ],
          "repo": "https://github.com/supertokens/supertokens-core",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-gvx2-mwmj-wwvj"
  ],
  "database_specific": {
    "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"
  },
  "details": "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.",
  "id": "CVE-2026-123798",
  "modified": "2026-11-15T02:30:31.762845888Z",
  "published": "2026-11-09T18:04:20.419Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/supertokens/supertokens-core/releases/tag/v11.3.7"
    },
    {
      "type": "WEB",
      "url": "https://github.com/supertokens/supertokens-core/releases/tag/v11.4.7"
    },
    {
      "type": "WEB",
      "url": "https://github.com/supertokens/supertokens-core/releases/tag/v12.0.10"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123798.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/supertokens/supertokens-core/security/advisories/GHSA-gvx2-mwmj-wwvj"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-123798"
    },
    {
      "type": "FIX",
      "url": "https://github.com/supertokens/supertokens-core/commit/8d06b0cfb5409c5bf505051ddfcb94d66367caae"
    },
    {
      "type": "FIX",
      "url": "https://github.com/supertokens/supertokens-core/commit/9cba541ae2ed87b878d11b257bc9b8b78341f50a"
    },
    {
      "type": "FIX",
      "url": "https://github.com/supertokens/supertokens-core/commit/d0773f2a6497411aeda5d4f03d3d135a2a3ae79c"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "SuperTokens Core: SAML XML Signature Wrapping authentication bypass — any IdP user can authenticate as any other user"
}