Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › Vulnerabilities › IdentityPython

High 8.2 2 CVEs Analysis

pysaml2 Through 7.5.5 Has Two SAML Flaws: Signature Wrapping and Forged Logout Requests

NVD published two vulnerabilities in IdentityPython pysaml2 through 7.5.5. The more severe one is an XML signature wrapping flaw (HIGH, CVSS 8.2), and the other is a missing signature check on LogoutRequest messages (MEDIUM, CVSS 6.9).

What to look into

  • 2 vulnerabilities in IdentityPython pysaml2: 1 high, 1 medium (CVSS up to 8.2).
  • None of them is known to be exploited yet.
  • Start with CVE-2026-142217 (8.2 high): IdentityPython pysaml2 through 7.5.5 contains an XML signature wrapping vulnerability in CryptoBackendXMLSecurity.validatesignature() that ignores nodeid and accepts any valid ds:Signature in the doc… An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
  • 2 of 2 can be attacked over the network without logging in, 2 of them without anyone clicking anything.
  • Kinds of flaws: Improper Verification of Cryptographic Signature (×2).
Identity & authVulnerabilities

Key points

  • CVE-2026-142217 (HIGH, CVSS 8.2) lets a signed SAML element be reused inside a forged message that passes validation.
  • CVE-2026-142218 (MEDIUM, CVSS 6.9) allows unsigned LogoutRequest messages to be accepted and end a user's SSO session.
  • Both issues affect pysaml2 through 7.5.5.
  • The records do not state exploitation or name a fixed version or workaround.

What the batch covers

NVD published two vulnerabilities in IdentityPython pysaml2, a SAML library, on 2026-12-02. Both affect pysaml2 through 7.5.5, and both involve SAML messages that are not verified correctly.

The two flaws

CVE-2026-142217 (HIGH, CVSS 8.2) is an XML signature wrapping flaw in CryptoBackendXMLSecurity.validatesignature(). According to the record, this check ignores nodeid and accepts any valid ds:Signature in the document. An attacker who holds a genuinely signed SAML element could embed it in a forged message with different content, such as an AuthnRequest, and that message would be accepted as correctly signed. This is the most severe item in the batch.

CVE-2026-142218 (MEDIUM, CVSS 6.9) is a missing signature verification issue. The record says that remote, unauthenticated attackers can forge unsigned LogoutRequest messages that Entity.parserequest() accepts. If an attacker knows a user's NameID, forged requests delivered through front-channel bindings or SOAP can cause handlelogoutrequest() to end the victim's single sign-on session.

Status and guidance

The records do not say whether either flaw has been exploited. They also give no fixed version, workaround or detection method. Administrators should confirm remediation details with the project before relying on any specific fix.

What to do

  1. Identify applications and services that use pysaml2 through 7.5.5 for SAML single sign-on.
  2. Monitor the IdentityPython project for a fixed release, since the records do not name one.

Our article about all 2 vulnerabilities, written with AI assistance from the official records listed below. Each CVE's page has its details.

The 2 vulnerabilities

  • CVE-2026-142217 8.2 IdentityPython pysaml2 through 7.5.5 contains an XML signature wrapping vulnerability in CryptoBackendXMLSecurity.validatesignature() that ignores nodeid and accepts any valid ds:Signature in the document. Attackers holding a genuinely sig…
  • CVE-2026-142218 6.9 pysaml2 through 7.5.5 contains a missing signature verification vulnerability that allows remote unauthenticated attackers to forge unsigned LogoutRequest messages accepted by Entity.parserequest(). Attackers who know a user's NameID can d…

Frequently asked questions

How many IdentityPython pysaml2 vulnerabilities were published on December 2, 2026?

2 vulnerabilities: 1 high, 1 medium, with CVSS scores up to 8.2.

Are any of them being exploited?

None of them is in CISA's Known Exploited Vulnerabilities catalog yet.

Which one should be fixed first?

CVE-2026-142217 (CVSS 8.2): IdentityPython pysaml2 through 7.5.5 contains an XML signature wrapping vulnerability in CryptoBackendXMLSecurity.validatesignature() that ignores nodeid and accepts any valid ds:Signature in the doc…

Original records