SimpleSAMLphp SP accepts a response from an unexpected IdP when unsigned `Response/InResponseTo` is combined with a signed assertion lacking `SubjectConfirmationData/InResponseTo`
High severity. Published 2 July 2026. Update simplesamlphp/simplesamlphp to the fixed version of your branch (2.5.2, 2.4.7): composer update simplesamlphp/simplesamlphp.
Which versions are affected?
| Package | Affected versions | Fixed in |
|---|---|---|
| simplesamlphp/simplesamlphp (opens in a new tab) | >= 2.5.0, <= 2.5.1 | <= 2.4.6 | 2.5.2, 2.4.7 |
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/simplesamlphp
composer auditAdvisory details
| Severity | HighCVSS 7.1 |
|---|---|
| Published | |
| Updated | |
| CVE | CVE-2026-49284 (opens in a new tab) |
| GHSA | GHSA-q8r6-xj3f-wrrm (opens in a new tab) |
| Weakness | CWE-345 |
What the advisory says
Summary
SimpleSAMLphp's SAML SP ACS path does not enforce the IdP selected for an SP-initiated login. If a saved SP state contains ExpectedIssuer = IdP A, but the ACS receives a valid response from IdP B, the code logs a warning and continues processing instead of rejecting the response.
That behavior becomes security-relevant when combined with the response-processing rule that accepts an unsigned samlp:Response/@InResponseTo outside the signed assertion whenever the signed assertion's SubjectConfirmationData does not carry its own InResponseTo. A response issued by one trusted IdP can therefore be bound to SP state created for another IdP.
Impact
Source: GHSA-q8r6-xj3f-wrrm (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .