BuzzPHP
LightDarkSystem

SimpleSAMLphp HTTP-Artifact TLS validator confusion allows cross-IdP authentication bypass

High severity. Published 2 July 2026. Update simplesamlphp/saml2 to the fixed version of your branch (6.2.1, 5.0.6, 4.20.2, 4.19.3) and simplesamlphp/saml2-legacy to the fixed version of your branch (4.20.2, 4.19.3): composer update simplesamlphp/saml2 simplesamlphp/saml2-legacy.

Which versions are affected?

PackageAffected versionsFixed in
simplesamlphp/saml2 (opens in a new tab)>= 6.0.0, < 6.2.1 | >= 5.0.0, < 5.0.6 | >= 4.20.0, < 4.20.2 | < 4.19.36.2.1, 5.0.6, 4.20.2, 4.19.3
simplesamlphp/saml2-legacy (opens in a new tab)>= 4.20.0, < 4.20.2 | < 4.19.34.20.2, 4.19.3

What should you do?

Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:

composer show simplesamlphp/saml2
composer audit

Advisory details

SeverityHighCVSS 8.7
Published
Updated
CVECVE-2026-49283 (opens in a new tab)
GHSAGHSA-6929-8p9f-26jx (opens in a new tab)
WeaknessCWE-295

What the advisory says

Summary

SimpleSAMLphp's HTTP-Artifact receive path can treat an unsigned embedded SAML Response as cryptographically valid for the wrong IdP.

In the HTTPArtifact::receive() flow, the SOAP ArtifactResponse receives a TLS-based validator from SOAPClient::addSSLValidator(). The embedded SAML Response then receives a validator that delegates signature validation to that outer ArtifactResponse. Later, the SP validates the embedded Response against metadata selected from the embedded response issuer, not necessarily the artifact issuer.

The critical issue is that SOAPClient::validateSSL() returns normally when the TLS public key does not match the key currently being validated.

Source: GHSA-6929-8p9f-26jx (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .

Other recent advisories for this package

All Composer security advisories