{"id":"CVE-2026-49283","published":"2026-08-19T14:47:05Z","modified":"2026-08-19T18:19:10Z","title":"SimpleSAMLphp HTTP-Artifact TLS validator confusion allows cross-IdP authentication bypass","vendor":"simplesamlphp","product":"saml2","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00472,"percentile":0.41343,"provenance":"source"},"cwes":[{"id":"CWE-295","name":"Improper Certificate Validation"}],"references":[{"url":"https://github.com/simplesamlphp/saml2/security/advisories/GHSA-6929-8p9f-26jx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/simplesamlphp/saml2/commit/4a71b20d8d845579fd0a54d6449c265b40db459d","tags":["x_refsource_MISC"]},{"url":"https://github.com/simplesamlphp/saml2/commit/a2c1ac588c70d7b7998546cf32675fb113f22a5f","tags":["x_refsource_MISC"]},{"url":"https://github.com/simplesamlphp/saml2/commit/d5c213132ef671c0018a11252322034dbddd735a","tags":["x_refsource_MISC"]},{"url":"https://github.com/simplesamlphp/saml2/commit/e2df7992609964951b2a3e7d6566b7427b2a968f","tags":["x_refsource_MISC"]}],"priority":{"score":14.4,"factors":[{"name":"EPSS percentile","points":8.27},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"simplesamlphp","affectedVersions":[{"vendor":"simplesamlphp","product":"saml2","versions":["< 4.19.3",">= 4.20.0, < 4.20.2",">= 5.0.0, < 5.0.6",">= 6.0.0, < 6.2.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-08-19T18:16:10.690773Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"simplesamlphp/saml2","vulnerableRanges":[">=6.0.0, <6.2.1",">=5.0.0, <5.0.6",">=4.20.0, <4.20.2","<4.19.3"],"patched":["6.2.1","5.0.6","4.20.2","4.19.3"],"from":["GHSA-6929-8p9f-26jx"],"provenance":"source"},{"ecosystem":"Packagist","package":"simplesamlphp/saml2-legacy","vulnerableRanges":[">=4.20.0, <4.20.2","<4.19.3"],"patched":["4.20.2","4.19.3"],"from":["GHSA-6929-8p9f-26jx"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-62502","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-simplesamlphp-saml2-cve-2026-49283","children":[{"from":"CVE-2026-49283","to":"CVE-2026-110782","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/Binding/HTTPArtifact.php"],"commits":["https://github.com/simplesamlphp/saml2/commit/7b7fbb5322cb5607db3e5a329681f4886b1449fe","https://github.com/simplesamlphp/saml2/commit/9a21edb96de1f3ece3b40ccbe3b7de761917a06f","https://github.com/simplesamlphp/saml2/commit/4a71b20d8d845579fd0a54d6449c265b40db459d","https://github.com/simplesamlphp/saml2/commit/a2c1ac588c70d7b7998546cf32675fb113f22a5f"],"basis":"shared function","functions":["receive"]}]}],"packageHistory":[{"cve":"CVE-2026-49289","published":"2026-08-19","fixed":"4.20.3","kev":false,"link":{"from":"CVE-2026-49283","to":"CVE-2026-49289","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:simplesamlphp/saml2","fromFixed":"4.20.2","toFixed":"4.20.3","daysApart":0},{"kind":"version-step","provenance":"source","package":"Packagist:simplesamlphp/saml2-legacy","fromFixed":"4.20.2","toFixed":"4.20.3","daysApart":0}]}},{"cve":"CVE-2023-49087","published":"2023-11-30","fixed":"5.0.0-alpha.13","kev":false},{"cve":"CVE-2025-27773","published":"2025-03-11","fixed":"5.0.0-alpha.20","kev":false,"link":{"from":"CVE-2025-27773","to":"CVE-2026-49283","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:simplesamlphp/saml2","fromFixed":"4.17.0","toFixed":"4.19.3","daysApart":526},{"kind":"version-step","provenance":"source","package":"Packagist:simplesamlphp/saml2-legacy","fromFixed":"4.17.0","toFixed":"4.19.3","daysApart":526}]}},{"cve":"CVE-2026-49283","published":"2026-08-19","fixed":"6.2.1","kev":false},{"cve":"CVE-2026-110782","published":"2026-11-17","fixed":"7.0.0-rc2","kev":false}],"package":"Packagist:simplesamlphp/saml2"}}