CVE-2026-49289

High

Description

The SimpleSAMLphp SAML2 library is a PHP library for SAML2 related functionality. In 4.19.2 and 4.20.2, the library permits attacker-controlled XPath transforms while processing XML signatures in specially crafted SAML messages. XPath evaluation can consume uncontrolled processing resources, allowing a remote unauthenticated attacker to deny service to any entity relying on SimpleSAMLphp or directly on the SAML2 library. The mitigation limits the number of transforms, permits only transform algorithms identified by the SAML 2.0 Core specification, and specifically rejects XPath transforms. This issue is fixed in versions 4.19.3 and 4.20.3.

SeverityHigh
CVSS7.5
Exploit probability—
ProductSimplesamlphp/saml2
PublishedAug 19, 2026
First seenAug 19, 2026

How to fix

Update
  • simplesamlphp/saml24.20.3, 4.19.3 or later
  • simplesamlphp/saml2-legacy4.20.3, 4.19.3 or later

Affected products

ProductAffected versionsFixed in
simplesamlphp/saml2Packagist4.20.0 ≤ v < 4.20.3, v < 4.19.34.20.3, 4.19.3
simplesamlphp/saml2-legacyPackagist4.20.0 ≤ v < 4.20.3, v < 4.19.34.20.3, 4.19.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.