{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "7.5.5"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "c16e6b76c182b545658d049a116e939c8ff4d1ab"
            }
          ],
          "repo": "https://github.com/identitypython/pysaml2",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-347"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142217.json"
  },
  "details": "IdentityPython pysaml2 through 7.5.5 contains an XML signature wrapping vulnerability in CryptoBackendXMLSecurity.validate_signature() that ignores node_id and accepts any valid ds:Signature in the document. Attackers holding a genuinely signed SAML element can embed it inside a forged message with attacker-chosen content, such as an AuthnRequest, which is accepted as correctly signed.",
  "id": "CVE-2026-142217",
  "modified": "2026-12-02T17:45:19.432963390Z",
  "published": "2026-12-02T16:50:28.792Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142217.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/IdentityPython/pysaml2"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/IdentityPython/pysaml2/blob/v7.5.5/src/saml2/sigver.py#L913-L936"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142217"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/pysaml2-through-7.5.5-xml-signature-wrapping-in-xmlsecurity-crypto-backend"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "pysaml2 through 7.5.5 XML Signature Wrapping in XMLSecurity Crypto Backend"
}