Skip to content

CVE-2026-142217 pysaml2 through 7.5.5 XML Signature Wrapping in XMLSecurity Crypto Backend

HighCVSS 8.2
Published
Updated
Exploit status
No public exploit known

Description

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
pypi pysaml2 <= 7.5.5 after 7.5.5 Fixed

Affected products

ProductAffected versionsFixed in
pypi pysaml2 <= 7.5.5 No fix listed

References