GHSA-q8r6-xj3f-wrrm: SimpleSAMLphp SP accepts a response from an unexpected IdP when unsigned `Response/InResponseTo` is combined with a signed assertion lacking `SubjectConfirmationData/InResponseTo`
SimpleSAMLphp versions before 2.4.7 and from 2.5.0 up to but not including 2.5.2 contain a vulnerability where the service provider (SP) accepts SAML responses from an unexpected identity provider (IdP) under certain conditions. Specifically, if the SP expects a response from IdP A but receives a valid response from IdP B, the response is processed instead of rejected when the response's InResponseTo attribute is unsigned and the signed assertion lacks its own InResponseTo. This can lead to authentication and authorization bypass in multi-IdP deployments where different IdPs have varying trust levels or tenant boundaries.
AI Analysis
Technical Summary
The vulnerability in SimpleSAMLphp's SAML SP Assertion Consumer Service (ACS) path arises because it does not enforce that the IdP responding matches the expected IdP stored in the SP state for SP-initiated logins. When an unsigned Response element's InResponseTo attribute is combined with a signed assertion missing SubjectConfirmationData/InResponseTo, the SP accepts the response from an unexpected IdP. This allows a lower-trust IdP to satisfy SP state created for a different expected IdP, potentially bypassing restrictions such as disabling unsolicited logins. The issue is particularly impactful in environments trusting multiple IdPs with different assurance levels or attribute namespaces, where application authorization depends on the selected IdP. Exploitation depends on the attacker's ability to obtain a signed assertion from a lower-trust IdP and on how the application maps user identifiers.
Potential Impact
This vulnerability can lead to authentication and authorization bypass in multi-IdP deployments by allowing a response from a lower-trust or unintended IdP to be accepted as valid for a session expecting a different IdP. This undermines the SP's intended routing and trust boundaries, potentially granting unauthorized access or elevated privileges if the application relies on the IdP identity for authorization decisions. The impact is limited to deployments where multiple IdPs with differing trust levels are configured and where the attacker can obtain a signed assertion from a lower-trust IdP.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. In the meantime, administrators should review their multi-IdP configurations and consider isolating trust boundaries or disabling SP-initiated flows if possible. Monitoring for unexpected IdP responses and applying strict validation of InResponseTo attributes within signed assertions may help mitigate risk until an official fix is available.
GHSA-q8r6-xj3f-wrrm: SimpleSAMLphp SP accepts a response from an unexpected IdP when unsigned `Response/InResponseTo` is combined with a signed assertion lacking `SubjectConfirmationData/InResponseTo`
Description
SimpleSAMLphp versions before 2.4.7 and from 2.5.0 up to but not including 2.5.2 contain a vulnerability where the service provider (SP) accepts SAML responses from an unexpected identity provider (IdP) under certain conditions. Specifically, if the SP expects a response from IdP A but receives a valid response from IdP B, the response is processed instead of rejected when the response's InResponseTo attribute is unsigned and the signed assertion lacks its own InResponseTo. This can lead to authentication and authorization bypass in multi-IdP deployments where different IdPs have varying trust levels or tenant boundaries.
CVSS v3.1
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in SimpleSAMLphp's SAML SP Assertion Consumer Service (ACS) path arises because it does not enforce that the IdP responding matches the expected IdP stored in the SP state for SP-initiated logins. When an unsigned Response element's InResponseTo attribute is combined with a signed assertion missing SubjectConfirmationData/InResponseTo, the SP accepts the response from an unexpected IdP. This allows a lower-trust IdP to satisfy SP state created for a different expected IdP, potentially bypassing restrictions such as disabling unsolicited logins. The issue is particularly impactful in environments trusting multiple IdPs with different assurance levels or attribute namespaces, where application authorization depends on the selected IdP. Exploitation depends on the attacker's ability to obtain a signed assertion from a lower-trust IdP and on how the application maps user identifiers.
Potential Impact
This vulnerability can lead to authentication and authorization bypass in multi-IdP deployments by allowing a response from a lower-trust or unintended IdP to be accepted as valid for a session expecting a different IdP. This undermines the SP's intended routing and trust boundaries, potentially granting unauthorized access or elevated privileges if the application relies on the IdP identity for authorization decisions. The impact is limited to deployments where multiple IdPs with differing trust levels are configured and where the attacker can obtain a signed assertion from a lower-trust IdP.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. In the meantime, administrators should review their multi-IdP configurations and consider isolating trust boundaries or disabling SP-initiated flows if possible. Monitoring for unexpected IdP responses and applying strict validation of InResponseTo attributes within signed assertions may help mitigate risk until an official fix is available.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-q8r6-xj3f-wrrm
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-49284"]
- Ecosystems
- ["Packagist"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a46ecae27e9c7971943b8dd
Added to database: 07/02/2026, 22:56:46 UTC
Last enriched: 07/02/2026, 23:05:50 UTC
Last updated: 07/03/2026, 00:30:43 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.