CVE-2025-66567: Vulnerability in Onelogin Ruby-saml
Critical. Ruby-saml up to and including 1.12.4, there is an authentication bypass vulnerability because of an incomplete fix for CVE-2025-25292. ReXML and Nokogiri parse XML differently, the parsers can generate entirely different document structures from the same XML input. That allows an attacker to be able to execute a Signature Wrapping attack. The vulnerability does not affect the version 1.18.0.
RubyGems, CWE-347
- Exploitation
- None confirmed
- Severity
- 9.3 of 10
- Attack likelihood
- 0.4 % in 30 days
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-9v8j-x534-2fx3
- Vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
- Weakness
- CWE-347
- Published
- 8 Dec 2025
- Last change
- 14 Oct 2026
- Likelihood rank
- Higher than 38 % of all rated vulnerabilities
- Analysis status
- Analyzed
- 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-9v8j-x534-2fx3
- github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2025-66567.yml
Patches and fixes
Updates, commits and release notes
Related
- Ruby-saml vulnerabilities Recent advisories, watch this product