CVE-2025-66568

CRITICAL CVSS 4.0: 9.3 EPSS 0.27%
Updated Oct 15, 2026
Onelogin
Parameter Value
CVSS 9.3 (CRITICAL)
Affected Versions before 1.18.0
Fixed In 1.18.0
Type CWE-347 (Improper Verification of Cryptographic Signature)
Vendor Onelogin
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v4.0

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Onelogin Ruby-Saml
cpe:2.3:a:onelogin:ruby-saml:*:*:*:*:*:*:*:*
— 1.18.0