All vulnerabilities

PyPI

CVE-2026-142217

pysaml2 through 7.5.5 XML Signature Wrapping in XMLSecurity Crypto Backend

Severity
High 8.2
Published
2 Dec 2026
Last changed
2 Dec 2026
Added to UpHeron
2 Dec 2026
Weakness
Improper verification of a cryptographic signature (CWE-347)
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Change data
CVSS vector
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
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
pysaml2PyPI · osv:PyPI:pysaml2
  • Every version up to 7.5.5

About pysaml2

Weekly downloads (PyPI)
679,370PyPI Stats, 2 Dec 2026

Vulnerabilities in pysaml2

In our list
2
Published in the last 12 months
2
Critical, last 12 months
0
High, last 12 months
1
Known exploited
0
Search the list for pysaml2

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-142217