Skip to content
OpenAdvisories
High · 8.7 CVE-2026-49283 EUVD-2026-62502GHSA-6929-8p9f-26jx

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

Published Aug 19, 2026 · Updated Aug 19, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
simplesamlphp saml2 < 4.19.3, >= 4.20.0, < 4.20.2, >= 5.0.0, < 5.0.6, >= 6.0.0, < 6.2.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 simplesamlphp No fix yet —
Debian 12 simplesamlphp No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 simplesamlphp No fix yet —
Ubuntu 26.04 LTS simplesamlphp No fix yet —
Ubuntu 24.04 LTS simplesamlphp No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS simplesamlphp No fix yet —
Ubuntu Pro 20.04 LTS simplesamlphp No fix yet —
Ubuntu Pro 18.04 LTS simplesamlphp No fix yet —
Ubuntu Pro 16.04 LTS simplesamlphp No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist simplesamlphp/saml2 >= 6.0.0, < 6.2.1 6.2.1 GHSA-6929-8p9f-26jx
Packagist simplesamlphp/saml2 >= 5.0.0, < 5.0.6 5.0.6 GHSA-6929-8p9f-26jx
Packagist simplesamlphp/saml2 >= 4.20.0, < 4.20.2 4.20.2 GHSA-6929-8p9f-26jx
Packagist simplesamlphp/saml2 < 4.19.3 4.19.3 GHSA-6929-8p9f-26jx
Packagist simplesamlphp/saml2-legacy >= 4.20.0, < 4.20.2 4.20.2 GHSA-6929-8p9f-26jx
Packagist simplesamlphp/saml2-legacy < 4.19.3 4.19.3 GHSA-6929-8p9f-26jx

References