patchminder
Proof of concept · GitHub CVE-2024-45409

Signature bypassin SAML-Toolkits ruby-saml.

Published 10 Sep 2024 · Updated 4 Nov 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
Critical 10.0
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
High
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 12.5% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 1.12.3, 1.17.0
In plain words

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.

What to do now
  • Upgrade ruby-saml to 1.12.3, 1.17.0 or later, whichever matches your release line.
  • Upgrade ruby-saml (RubyGems) to 1.12.3, 1.17.0 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
ruby-saml
before 1.12.3
1.12.3
CVE record
ruby-saml
1.13.0 to before 1.17.0
1.17.0
CVE record
ruby-saml (RubyGems)
before 1.12.3
1.12.3
GitHub advisory
ruby-saml (RubyGems)
1.13.0 to before 1.17.0
1.17.0
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 28 Aug 2024
    CVE ID reserved by GitHub_M.
  2. 10 Sep 2024
    Published in the CVE List.
  3. 7 Oct 2024
    First public proof of concept on GitHub.
  4. 4 Nov 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation poc.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
2 repositories
GitHubno warning signs foundsynacktiv/CVE-2024-4540986 stars · created 7 Oct 2024Ruby-SAML / GitLab Authentication Bypass (CVE-2024-45409) exploit
GitHubno warning signs foundbarkotenicholas/CVE-2024-454090 stars · created 25 Oct 2026

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other ruby-saml vulnerabilities

Same weakness: Improper verification of cryptographic signature

All CWE-347 vulnerabilities

References
Cite this page

Patchminder. CVE-2024-45409: Signature bypass in SAML-Toolkits ruby-saml. https://patchminder.com/cve/cve-2024-45409/ (accessed 5 December 2026).