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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi pysaml2 | <= 7.5.5 | after 7.5.5 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi pysaml2 | <= 7.5.5 | No fix listed |
References
- github.com technical-description
- VulnCheck Advisory: pysaml2 through 7.5.5 XML Signature Wrapping in XMLSecurity Crypto Backend third-party-advisory
- ENISA EUVD EUVD-2026-141613 third-party-advisory