CVE-2026-49289simplesamlphp saml2
High 7.5 No auth needed
Follow: this CVE · simplesamlphp · simplesamlphp saml2 We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Aug 19, 2026
- Updated
- Sep 18, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for saml2.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | simplesamlphp/saml2 |
≥ 4.20.0 < 4.20.3 |
4.20.3 |
composer require "simplesamlphp/saml2:^4.20.3" |
| Packagist | simplesamlphp/saml2 |
< 4.19.3 |
4.19.3 |
composer require "simplesamlphp/saml2:^4.19.3" |
| Packagist | simplesamlphp/saml2-legacy |
≥ 4.20.0 < 4.20.3 |
4.20.3 |
composer require "simplesamlphp/saml2-legacy:^4.20.3" |
| Packagist | simplesamlphp/saml2-legacy |
< 4.19.3 |
4.19.3 |
composer require "simplesamlphp/saml2-legacy:^4.19.3" |
Per OSV / GitHub Advisories (GHSA-5cjr-mxj5-wmrx). Check the version in your lockfile before upgrading.
Affected products
- simplesamlphp · saml2
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.