CVE-2018-7644 · mitre
CVE-2018-7644
The XmlSecLibs library as used in the saml2 library in SimpleSAMLphp before 1.15.3 incorrectly verifies signatures on SAML assertions, allowing a remote attacker to construct a crafted SAML assertion on behalf of an Identity Provider that would pass as cryptographically valid, thereby allowing them to impersonate a user from that Identity Provider, aka a key confusion issue.
Published 2018-03-05, last changed 2026-06-17. Weakness: CWE-347.
How to fix
Upgrade to a fixed version: simplesamlphp/saml2 1.10.5, 2.3.7, 3.1.3 (Packagist) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in simplesamlphp/simplesamlphp by 1cba486764. The fix changed source code, but no function could be located in it. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).
Timeline
| 2018-03-05 | Published |
| 2022-05-13 | Package advisory GHSA-923w-2xv2-7pr8 |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 1.45% |
| 2026-12-03 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-923w-2xv2-7pr8 | simplesamlphp/saml2 (Packagist) | 1.10.5 |
| GHSA-923w-2xv2-7pr8 | simplesamlphp/saml2 (Packagist) | 2.3.7 |
| GHSA-923w-2xv2-7pr8 | simplesamlphp/saml2 (Packagist) | 3.1.3 |
Also known as: GHSA-923w-2xv2-7pr8
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-110782 | 2026-11-17 | 8.7 | SAML2: Incomplete fix of CVE-2026-49283: unsigned embedded Response bypasses HTTP-Artifact signature verification (no embedded-Issuer binding) |
| CVE-2026-49289 | 2026-08-19 | 7.5 | SimpleSAMLphp SAML2: Possible DoS via XPath Transform |
| CVE-2026-49283 | 2026-08-19 | 8.7 | SimpleSAMLphp HTTP-Artifact TLS validator confusion allows cross-IdP authentication bypass |
| CVE-2025-27773 | 2025-03-11 | 8.6 | SimpleSAMLphp SAML2 library has incorrect signature verification for HTTP-Redirect binding |
| CVE-2024-52806 | 2024-12-02 | 8.3 | SimpleSAMLphp SAML2 has an XXE in parsing SAML messages |
| CVE-2023-49087 | 2023-11-30 | 7.5 | Validation of SignedInfo |
| CVE-2018-7711 | 2018-03-05 | 8.1 | same package: simplesamlphp/saml2 (Packagist) |
| CVE-2018-6519 | 2018-02-02 | 7.5 | same package: simplesamlphp/saml2 (Packagist) |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2018-7644, or call /api/v1/vulnerabilities/CVE-2018-7644. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.