CVE-2025-66568
CRITICALruby-saml < 1.18.0 - Authentication Bypass via Signature Wrapping Attack
Title source: llmDescription
The ruby-saml library implements the client side of an SAML authorization. Versions up to and including 1.12.4, are vulnerable to authentication bypass through the libxml2 canonicalization process used by Nokogiri for document transformation, which allows an attacker to execute a Signature Wrapping attack. When libxml2’s canonicalization is invoked on an invalid XML input, it may return an empty string rather than a canonicalized node. ruby-saml then proceeds to compute the DigestValue over this empty string, treating it as if canonicalization succeeded. This issue is fixed in version 1.18.0.
References (2)
Core 2
Core References
Vendor Advisory x_refsource_confirm
https://github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-x4h9-gwv3-r4m4
Broken Link x_refsource_misc
https://github.com/SAML-Toolkits/ruby-saml/commit/acac9e9cc0b9a507882c614f25d41f8b47be349a
Scores
CVSS v3
9.1
EPSS
0.0021
EPSS Percentile
10.8%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
total
Details
CWE
CWE-347
Status
published
Products (2)
onelogin/ruby-saml
< 1.18.0
rubygems/ruby-saml
0 - 1.18.0RubyGems
Published
Dec 09, 2025
Tracked Since
Feb 18, 2026