CVE-2025-66568: Vulnerability in Onelogin Ruby-saml
Critical. 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...
RubyGems, CWE-347
- Exploitation
- None confirmed
- Severity
- 9.1 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-x4h9-gwv3-r4m4
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Weakness
- CWE-347
- Published
- 8 Dec 2025
- Last change
- 14 Oct 2026
- Ecosystem
- RubyGems
Affected products
Affected versions and the first fixed release
- Onelogin Ruby-saml Before 1.18.0. Fixed in 1.18.0
Affected packages
Vulnerable version ranges and fixed releases
- ruby-saml RubyGems, Affected before 1.18.0. Fixed in 1.18.0
Advisories
Vendor and security advisories
- github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-x4h9-gwv3-r4m4
- github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2025-66568.yml
Patches and fixes
Updates, commits and release notes
Related
- Ruby-saml vulnerabilities Recent advisories, watch this product