AploSec / Disclosures / CVE-2026-142217

High 8.2ReportedNo fix listedCWE-347PyPI

pysaml2 through 7.5.5 XML Signature Wrapping in XMLSecurity Crypto Backend

CVE-2026-142217 · published 2026-12-02

In plain words: this type of bug lets someone pass off forged or altered data as genuine (missing integrity or signature check). No fixed release is listed yet.

Summary

CVE-2026-142217 affects pysaml2 (PyPI) <= 7.5.5: XML Signature Wrapping in XMLSecurity Crypto Backend (CWE-347). No fixed release is listed. CVSS 4.0 base score 8.2 (High), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

Remediation

No fixed release is listed in the advisory. Check the references for upstream status.

References

Severity
High 8.2CVSS 4.0, scored by VulnCheck in the CVE record
Package
pysaml2
Ecosystem
PyPI
Affected
<= 7.5.5
Fixed
None
Weakness
CWE-347
CNA
VulnCheck
Credit
Zachariah Mithani (AploSec)finder