Live threats

All CVEs / simplesamlphp

CVE-2026-49283simplesamlphp saml2

High 8.7

Priority
52
CVSS 3.1
8.7
EPSS
—
Auth required
Yes
Published
Aug 19, 2026
Updated
Sep 18, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-295
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N

What happens

The SimpleSAMLphp SAML2 library is a PHP library for SAML2 related functionality. Prior to versions 4.19.3, 4.20.2, 5.0.6, and 6.2.1, the HTTPArtifact::receive() flow can treat an unsigned embedded SAML Response as cryptographically valid for the wrong identity provider. SOAPClient::addSSLValidator() attaches a TLS-based validator to the outer SOAP ArtifactResponse, while the embedded Response receives a validator that delegates to the outer message and is later checked against metadata selected from the embedded response issuer rather than necessarily the artifact issuer. SOAPClient::validateSSL() returns normally when the TLS public key does not match the key being validated, and SAML2\Message::validate() treats a validator call that does not throw as successful. In a multi-IdP federation, a malicious or lower-trust IdP can therefore provide an ArtifactResponse containing an unsigned Response that claims a higher-trust victim IdP as issuer and authenticate as arbitrary users with attacker-chosen assertion attributes, NameID, and session data. This issue is fixed in versions 4.19.3, 4.20.2, 5.0.6, and 6.2.1.

Original NVD text.

What to do

  1. Apply the vendor's security update for saml2.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist simplesamlphp/saml2 ≥ 6.0.0 < 6.2.1 6.2.1 composer require "simplesamlphp/saml2:^6.2.1"
Packagist simplesamlphp/saml2 ≥ 5.0.0 < 5.0.6 5.0.6 composer require "simplesamlphp/saml2:^5.0.6"
Packagist simplesamlphp/saml2 ≥ 4.20.0 < 4.20.2 4.20.2 composer require "simplesamlphp/saml2:^4.20.2"
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.2 4.20.2 composer require "simplesamlphp/saml2-legacy:^4.20.2"
Packagist simplesamlphp/saml2-legacy < 4.19.3 4.19.3 composer require "simplesamlphp/saml2-legacy:^4.19.3"

Per OSV / GitHub Advisories (GHSA-6929-8p9f-26jx). 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.