Live threats

All CVEs / simplesamlphp

CVE-2025-27773simplesamlphp saml2

High 8.6 No auth needed

Priority
67
CVSS 3.1
8.6
EPSS
—
Auth required
No
Published
Mar 11, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-347
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for saml2.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist simplesamlphp/saml2 < 4.17.0 4.17.0 composer require "simplesamlphp/saml2:^4.17.0"
Packagist simplesamlphp/saml2 ≥ 5.0.0-alpha.1 < 5.0.0-alpha.20 5.0.0-alpha.20 composer require "simplesamlphp/saml2:^5.0.0-alpha.20"
Packagist simplesamlphp/saml2-legacy < 4.17.0 4.17.0 composer require "simplesamlphp/saml2-legacy:^4.17.0"

Per OSV / GitHub Advisories (GHSA-46r4-f8gj-xg56). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.