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

High severity, published 2026-07-02. 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.

Canonical URL: https://buzzphp.com/security/ghsa-6929-8p9f-26jx · Data from GitHub as of 2026-11-25.

| | |
| --- | --- |
| Severity | high (CVSS 8.7) |
| Published | 2026-07-02 |
| Updated | 2026-08-04 |
| CVE | [CVE-2026-49283](https://nvd.nist.gov/vuln/detail/CVE-2026-49283) |
| GHSA | [GHSA-6929-8p9f-26jx](https://github.com/advisories/GHSA-6929-8p9f-26jx) |
| Weakness | CWE-295 |

| Package | Affected versions | Fixed in |
| --- | --- | --- |
| simplesamlphp/saml2 | >= 6.0.0, < 6.2.1 or >= 5.0.0, < 5.0.6 or >= 4.20.0, < 4.20.2 or < 4.19.3 | 6.2.1, 5.0.6, 4.20.2, 4.19.3 |
| simplesamlphp/saml2-legacy | >= 4.20.0, < 4.20.2 or < 4.19.3 | 4.20.2, 4.19.3 |

## What to do

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.

Check which version you run with `composer show simplesamlphp/saml2`, and every affected package with `composer audit`.

## About this advisory

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.

## Links

- [GHSA-6929-8p9f-26jx on GitHub](https://github.com/advisories/GHSA-6929-8p9f-26jx)
- [CVE-2026-49283 on the National Vulnerability Database](https://nvd.nist.gov/vuln/detail/CVE-2026-49283)
- [All Composer security advisories](https://buzzphp.com/security)
