{"id":"CVE-2026-142217","summary":"pysaml2 through 7.5.5 XML Signature Wrapping in XMLSecurity Crypto Backend","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.","modified":"2026-12-02T18:00:09.628570922Z","published":"2026-12-02T16:50:28.792Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142217.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-347"]},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/identitypython/pysaml2","events":[{"introduced":"0"},{"last_affected":"c16e6b76c182b545658d049a116e939c8ff4d1ab"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"7.5.5"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}}],"versions":["v7.5.5","v7.5.4","v7.5.3","v7.5.2","v7.5.1","v7.5.0","v7.4.2","v7.4.1","v7.3.0","v7.4.0","v7.2.1","v7.2.0","v7.1.2","v7.1.1","v7.1.0","v7.0.1","v7.0.0","v6.5.2","v6.5.1","v6.5.0","v6.4.1","v6.4.0","v6.3.1","v6.3.0","v6.2.0","v6.1.0","v6.0.0","v5.4.0","v5.3.0","v5.2.0","v5.1.0","v5.0.0","v4.9.0","v4.8.0","v4.7.0","v4.6.5","v4.6.4","v4.6.3","v4.6.2","v4.6.1","v4.6.0","v4.5.0","v4.3.0","v4.2.0","v4.1.0","4.0.0","v3.0.2","3.0.0","2.4.0","2.3.0","v2.2.0","2.1.0","2.0.0","v1.0.3","0.4.2","1.0.1","1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142217.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","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"}]}