SAML-Toolkits ruby-saml
ruby-saml has a SAML authentication bypass due to namespace handling (parser differential)
The ruby-saml library is for implementing the client side of a SAML authorization. ruby-saml versions up to and including 1.12.4 contain an authentication bypass vulnerability due to an incomplete fix for CVE-2025-25292. ReXML and Nokogiri parse XML differently, generating entirely different document structures from the same input. This allows an attacker to execute a Signature Wrapping attack. This issue is fixed in version 1.18.0.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.3critical · scored by CNA · CWE-347
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
SAML-Toolkits ruby-saml
- < 1.18.0
Fixed in 1.18.0
Mitigation
Upgrade ruby-saml to 1.18.0 or later.
References
- Vendor advisory github.com/SAML-Toolkits/ruby-saml/security/ad…
- Patch github.com/SAML-Toolkits/ruby-saml/commit/e9c1…
- Vendor advisory github.com/advisories/GHSA-754f-8gm6-c4r2
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.