CVE-2026-49289
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.
How to fix
- simplesamlphp/saml24.20.3, 4.19.3 or later
- simplesamlphp/saml2-legacy4.20.3, 4.19.3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| simplesamlphp/saml2Packagist | 4.20.0 ≤ v < 4.20.3, v < 4.19.3 | 4.20.3, 4.19.3 |
| simplesamlphp/saml2-legacyPackagist | 4.20.0 ≤ v < 4.20.3, v < 4.19.3 | 4.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.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.