Signature bypassin SAML-Toolkits ruby-saml.
Proof of concept public (GitHub).
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.
- 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.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 28 Aug 2024CVE ID reserved by GitHub_M.
- 10 Sep 2024Published in the CVE List.
- 7 Oct 2024First public proof of concept on GitHub.
- 4 Nov 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation poc.
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.
Report a link
Other ruby-saml vulnerabilities
Same weakness: Improper verification of cryptographic signature
- github.com x_refsource_CONFIRM
- github.com x_refsource_MISC
- github.com x_refsource_MISC
- github.com x_refsource_MISC
- ssoready.com
- news.ycombinator.com
- security.netapp.com
- lists.debian.org
Patchminder. CVE-2024-45409: Signature bypass in SAML-Toolkits ruby-saml. https://patchminder.com/cve/cve-2024-45409/ (accessed 5 December 2026).