Loading...
Skip to main content

CVE-2026-49283 — Vulnerability in simplesamlphp/saml2-legacy — CVE...

HIGH

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

Published July 2, 2026Updated August 4, 2026Source: osv

Summary

## 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.

Advisory Timeline

  • First published July 2, 2026 (102 days ago).
  • Last revised August 4, 2026 — 33 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Composer
Update simplesamlphp/saml2-legacy to 4.19.3 or later
composer require "simplesamlphp/saml2-legacy:^4.19.3"
Composer
Update simplesamlphp/saml2 to 4.20.2 or later
composer require "simplesamlphp/saml2:^4.20.2"
Composer
Update simplesamlphp/saml2 to 4.19.3 or later
composer require "simplesamlphp/saml2:^4.19.3"
Composer
Update simplesamlphp/saml2 to 5.0.6 or later
composer require "simplesamlphp/saml2:^5.0.6"
Composer
Update simplesamlphp/saml2-legacy to 4.20.2 or later
composer require "simplesamlphp/saml2-legacy:^4.20.2"
Composer
Update simplesamlphp/saml2 to 6.2.1 or later
composer require "simplesamlphp/saml2:^6.2.1"

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (6)

Affects 1 ecosystem: packagist (2).

PackageEcosystemAffectedFixed In
simplesamlphp/saml2-legacy
packagist
4.6.9, v0.1.0, v0.1.0-alpha, v0.3.0 (+146 more)4.19.3
simplesamlphp/saml2
packagist
v4.20.0, v4.20.14.20.2
simplesamlphp/saml2
packagist
4.6.9, v0.1.0, v0.1.0-alpha, v0.3.0 (+148 more)4.19.3
simplesamlphp/saml2
packagist
v5.0.0, v5.0.1, v5.0.2, v5.0.3 (+2 more)5.0.6
simplesamlphp/saml2-legacy
packagist
v4.20.0, v4.20.14.20.2
simplesamlphp/saml2
packagist
v6.0.0, v6.0.1, v6.1.0, v6.1.1 (+6 more)6.2.1

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-295
    Improper Certificate ValidationMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.7 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N

Frequently Asked Questions

What is CVE-2026-49283?
SimpleSAMLphp HTTP-Artifact TLS validator confusion allows cross-IdP authentication bypass This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.7/10).
How do I check if my project is affected by CVE-2026-49283?
CVE-2026-49283 affects simplesamlphp/saml2-legacy and simplesamlphp/saml2. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-49283 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.7

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-6929-8p9f-26jx

Related CVEs

  • CVE-2025-27773
    HIGH

    The SimpleSAMLphp SAML2 library incorrectly verifies signatures for HTTP-Redirect binding

  • CVE-2026-65954
    HIGH

    PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey()

  • CVE-2026-61825
    HIGH

    code16/sharp has a stored XSS via data-html-content Sanitizer Bypass

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies