CVE-2025-27773
Description
The SimpleSAMLphp SAML2 library is a PHP library for SAML2 related functionality. Prior to versions 4.17.0 and 5.0.0-alpha.20, there is a signature confusion attack in the HTTPRedirect binding. An attacker with any signed SAMLResponse via the HTTP-Redirect binding can cause the application to accept an unsigned message. Versions 4.17.0 and 5.0.0-alpha.20 contain a fix for the issue.
How to fix
- simplesamlphp/saml24.17.0, 5.0.0-alpha.20 or later
- simplesamlphp/saml2-legacy4.17.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| simplesamlphp/saml2Packagist | v < 4.17.0, 5.0.0-alpha.1 ≤ v < 5.0.0-alpha.20 | 4.17.0, 5.0.0-alpha.20 |
| simplesamlphp/saml2-legacyPackagist | v < 4.17.0 | 4.17.0 |
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.