{"id":"CVE-2026-49284","aliases":["CVE-2026-49284","GHSA-q8r6-xj3f-wrrm"],"related":[],"kind":"vulnerability","state":"published","title":"SimpleSAMLphp SP accepts a response from an unexpected IdP when unsigned `Response/InResponseTo` is combined with a signed assertion lacking `SubjectConfirmationData/InResponseTo`","summary":"SimpleSAMLphp versions before 1.18.6 contain an information disclosure vulnerability. Prior to 2.4.7 and 2.5.2, SimpleSAMLphp's SAML SP ACS path does not enforce the IdP selected for an SP-initiated login when unsigned Response/InResponseTo is combined with a signed assertion lacking SubjectConfirmationData/InResponseTo, allowing a response issued by one trusted IdP to be bound to SP state created for another IdP and bypass flows that route users to a specific IdP, including deployments that set enable_unsolicited to false. This issue is fixed in versions 2.4.7 and 2.5.2.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"SimpleSAMLphp versions before 1.18.6 contain an information disclosure vulnerability. Prior to 2.4.7 and 2.5.2, SimpleSAMLphp's SAML SP ACS path does not enforce the IdP selected for an SP-initiated login when unsigned Response/InResponseTo is combined with a signed assertion lacking SubjectConfirmationData/InResponseTo, allowing a response issued by one trusted IdP to be bound to SP state created for another IdP and bypass flows that route users to a specific IdP, including deployments that set enable_unsolicited to false. This issue is fixed in versions 2.4.7 and 2.5.2.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nSimpleSAMLphp'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.\n\nThat 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.\n\n## Impact\n\nIn a multi-IdP deployment, a lower-trust IdP can satisfy SP state created for a different expected IdP. This can bypass an SP flow that intentionally routes the user to a specific IdP, including deployments that set `enable_unsolicited` to `false` to prevent IdP-initiated logins.\n\nThe impact is highest when the SP trusts multiple IdPs with different assurance levels, tenant boundaries, or attribute namespaces, and application authorization depends on the selected/expected IdP. In those deployments this is an authentication/authorization bypass candidate. Impact strongly depends on whether an attacker can obtain a signed IdP-initiated assertion from a lower-trust trusted IdP and whether the downstream application maps identifiers globally.","format":"markdown","source":"ghsa"}],"published":"2026-07-02T20:47:21.000Z","modified":"2026-09-10T03:50:52.943Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N","score":7.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N","score":7.1,"rating":"HIGH"}],"cwes":["CWE-345"],"affected":[{"ranges":[{"version":"< 2.4.7","status":"affected"},{"version":">= 2.5.0-rc1, < 2.5.2","status":"affected"}],"vendor":"simplesamlphp","product":"simplesamlphp","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.5.0","status":"affected","fixed":"2.5.2"}],"ecosystem":"Packagist","package":"simplesamlphp/simplesamlphp","purl":"pkg:composer/simplesamlphp/simplesamlphp","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.4.7"}],"ecosystem":"Packagist","package":"simplesamlphp/simplesamlphp","purl":"pkg:composer/simplesamlphp/simplesamlphp","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.4.7"},{"status":"affected","introduced":"2.5.0","fixed":"2.5.2"}],"vendor":"simplesamlphp","product":"simplesamlphp","cpe":"cpe:2.3:a:simplesamlphp:simplesamlphp:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/simplesamlphp/simplesamlphp/security/advisories/GHSA-q8r6-xj3f-wrrm","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/simplesamlphp/simplesamlphp/releases/tag/v2.4.7","tags":["product","release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/simplesamlphp/simplesamlphp/releases/tag/v2.5.2","tags":["product","release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/simplesamlphp/simplesamlphp","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-07-20T19:21:50.152Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-49284","url":"https://www.cve.org/CVERecord?id=CVE-2026-49284","licence":"CVE Terms of Use","modified":"2026-07-20T19:22:12.247Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-q8r6-xj3f-wrrm","url":"https://github.com/advisories/GHSA-q8r6-xj3f-wrrm","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:52.943Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-49284","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49284","licence":"Public domain","modified":"2026-07-30T13:39:25.117Z"}],"updatedAt":"2026-11-25T22:59:28.533Z","epss":{"score":0.00148,"percentile":0.04228,"date":"2026-12-01T12:00:22.000Z"}}