Home / SAML-Toolkits / ruby-saml / CVE-2024-45409
CVE-2024-45409: is it exploited, and which versions of SAML-Toolkits ruby-saml are affected and fixed?
CVE-2024-45409 is a cryptographic signature not verified vulnerability in SAML-Toolkits ruby-saml. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:08 UTC). Affected: ruby-saml before 1.12.3 and ruby-saml from 1.13.0 before 1.17.0 (GitHub advisory GHSA-jw9c-mfg7-9rx2). Fixed in 1.12.3 and 1.17.0 (GitHub advisory GHSA-jw9c-mfg7-9rx2). Severity: Critical (10.0, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:08 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:26 UTC.
What is CVE-2024-45409?
The Ruby SAML library vulnerable to a SAML authentication bypass via Incorrect XPath selector
The Ruby SAML library is for implementing the client side of a SAML authorization. Ruby-SAML in <= 12.2 and 1.13.0 <= 1.16.0 does not properly verify the signature of the SAML Response. An unauthenticated attacker with access to any signed saml document (by the IdP) can thus forge a SAML Response/Assertion with arbitrary contents. This would allow the attacker to log in as arbitrary user within the vulnerable system. This vulnerability is fixed in 1.17.0 and 1.12.3.
From the CVE record by GitHub_M, last updated November 4, 2026, 00:03 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| SAML-Toolkits | ruby-saml | < 1.12.3 >= 1.13.0, < 1.17.0 |
As the CVE record by GitHub_M states it, last updated November 4, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| RubyGems | ruby-saml | < 1.12.3 | 1.12.3 | GHSA-jw9c-mfg7-9rx2 |
| RubyGems | ruby-saml | >= 1.13.0, < 1.17.0 | 1.17.0 | GHSA-jw9c-mfg7-9rx2 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 8, 2026. Summary: SAML authentication bypass via Incorrect XPath selector.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| onelogin | ruby-saml | before 1.12.3 | application |
| onelogin | ruby-saml | from 1.13.0 before 1.17.0 | application |
| omniauth | omniauth saml | through 1.10.3 | application |
| omniauth | omniauth saml | 2.0.0 | application |
| omniauth | omniauth saml | 2.1.0 | application |
| gitlab | gitlab | before 16.11.10 | application |
| gitlab | gitlab | from 17.0.0 before 17.0.8 | application |
| gitlab | gitlab | from 17.1.0 before 17.1.8 | application |
| gitlab | gitlab | from 17.2.0 before 17.2.7 | application |
| gitlab | gitlab | from 17.3.0 before 17.3.3 | application |
NVD analysis (status Modified), last modified November 4, 2026, 00:17 UTC.
How severe is CVE-2024-45409?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 10.0 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N | GitHub_M |
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-45409 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: total (CISA ADP, October 16, 2024)
- EPSS
- 12.5% probability of exploitation activity in the next 30 days, percentile 96.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-347 Improper Verification of Cryptographic Signature
Where are the vendor advisories and references?
- https://github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-jw9c-mfg7-9rx2 x_refsource_CONFIRM
- https://github.com/omniauth/omniauth-saml/security/advisories/GHSA-cvp8-5r8g-fhvq x_refsource_MISC
- https://github.com/SAML-Toolkits/ruby-saml/commit/1ec5392bc506fe43a02dbb66b68741051c5ffeae x_refsource_MISC
- https://github.com/SAML-Toolkits/ruby-saml/commit/4865d030cae9705ee5cdb12415c654c634093ae7 x_refsource_MISC
- https://ssoready.com/blog/engineering/ruby-saml-pwned-by-xml-signature-wrapping-attacks/
- https://news.ycombinator.com/item?id=41586031
- https://security.netapp.com/advisory/ntap-20240926-0008/
- https://lists.debian.org/debian-lts-announce/2024/11/msg00006.html
When was it published, and where is the official record?
- Reserved
- August 28, 2024
- Published
- September 10, 2024, 18:50 UTC
- CVE record updated
- November 4, 2026, 00:03 UTC by GitHub_M
- NVD
- Modified, last modified November 4, 2026, 00:17 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:26 UTC; KEV December 3, 2026, 10:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect ruby-saml?
- Dec 9, 2025CVE-2025-66568 SAML-Toolkits ruby-saml: cryptographic signature not verified
- Dec 9, 2025CVE-2025-66567 SAML-Toolkits ruby-saml: cryptographic signature not verified
- Jul 30, 2025CVE-2025-54572 SAML-Toolkits ruby-saml: denial of service (uncontrolled resource consumption)
- Mar 12, 2025CVE-2025-25292 SAML-Toolkits ruby-saml: cryptographic signature not verified
- Mar 12, 2025CVE-2025-25291 SAML-Toolkits ruby-saml: cryptographic signature not verified
- Mar 12, 2025CVE-2025-25293 SAML-Toolkits ruby-saml: denial of service (uncontrolled resource consumption)
Questions about CVE-2024-45409
Is CVE-2024-45409 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:08 UTC. FIRST's EPSS gives it a 12.5% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of SAML-Toolkits ruby-saml are affected by CVE-2024-45409?
ruby-saml before 1.12.3 and ruby-saml from 1.13.0 before 1.17.0, per the GitHub advisory GHSA-jw9c-mfg7-9rx2. The tables above give every range the sources list.
Which version fixes CVE-2024-45409?
1.12.3 and 1.17.0, per the GitHub advisory GHSA-jw9c-mfg7-9rx2. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-45409?
Critical (10.0, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2024-45409?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.