CVE-2026-49283: SimpleSAMLphp HTTP-Artifact TLS validator confusion allows cross-IdP authentication bypass
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.
Published Jul 2, 2026 · Updated Aug 4, 2026
Affected packages
simplesamlphp/saml2
- Ecosystem
- Composer (PHP)
- Affected
- >= 6.0.0, < 6.2.1
- Fixed in
- 6.2.1
- Check
composer show simplesamlphp/saml2
simplesamlphp/saml2
- Ecosystem
- Composer (PHP)
- Affected
- >= 5.0.0, < 5.0.6
- Fixed in
- 5.0.6
- Check
composer show simplesamlphp/saml2
simplesamlphp/saml2
- Ecosystem
- Composer (PHP)
- Affected
- >= 4.20.0, < 4.20.2
- Fixed in
- 4.20.2
- Check
composer show simplesamlphp/saml2
simplesamlphp/saml2-legacy
- Ecosystem
- Composer (PHP)
- Affected
- >= 4.20.0, < 4.20.2
- Fixed in
- 4.20.2
- Check
composer show simplesamlphp/saml2-legacy
simplesamlphp/saml2
- Ecosystem
- Composer (PHP)
- Affected
- < 4.19.3
- Fixed in
- 4.19.3
- Check
composer show simplesamlphp/saml2
simplesamlphp/saml2-legacy
- Ecosystem
- Composer (PHP)
- Affected
- < 4.19.3
- Fixed in
- 4.19.3
- Check
composer show simplesamlphp/saml2-legacy
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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. SAML2\Message::validate() treats any validator call that does not throw an exception as successful. As a result, an ArtifactResponse obtained from one IdP can validate an unsigned embedded SAML Response that claims to be issued by a different IdP.
In a multi-IdP/federation deployment where a malicious or lower-trust IdP can issue an HTTP-Artifact response to an SP, this can allow the attacker to authenticate to the SP as arbitrary users from a higher-trust victim IdP.
Impact
A malicious or lower-trust IdP in the same SP/federation trust set can authenticate to the SP as users from another IdP when HTTP-Artifact is used. The attacker can choose assertion attributes, NameID, and session data in the forged unsigned assertion.
This is an authentication bypass and identity-provider impersonation issue. In realistic federations, the security boundary between IdPs matters: a compromised or low-assurance IdP should not be able to mint identities for a high-assurance IdP.
Credited to kamil-sawicki, tvdijen, vladimir-mencl-eresearch.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-110782
SAML2: Incomplete fix of CVE-2026-49283: unsigned embedded Response bypasses HTTP-Artifact signature verification (no embedded-Issuer binding)
high8.7Nov 17, 2026CVE-2026-49289
SimpleSAMLphp has Possible DoS via XPath Transform
high7.5Jul 2, 2026CVE-2025-27773
The SimpleSAMLphp SAML2 library incorrectly verifies signatures for HTTP-Redirect binding
high8.6Mar 11, 2025CVE-2024-52806
SimpleSAMLphp SAML2 has an XXE in parsing SAML messages
medium8.3Dec 2, 2024
