CVE-2025-66568CWE-347

CVE-2025-66568

Critical · published December 9, 2025

CVSS v3.1
9.1
EPSS
0%
Percentile
13.6
In the wild
Unconfirmed
What it is

🚨 A sneaky signature wrapping vulnerability in the ruby-saml library could let attackers slip through the security cracks like a magician pulling a rabbit out of a hat! 🔥 Think of it like a restaurant that accepts a reservation but forgets to check for a name. When someone walks in without the right credentials, they get a seat at a private table anyway! An attacker could effectively bypass authentication, gaining unauthorized access to sensitive areas like a VIP guest crashing an exclusive party. This could lead to data exposure, compromised accounts, or worse!

Put simply

Think of it like a restaurant that accepts a reservation but forgets to check for a name. When someone walks in without the right credentials, they get a seat at a private table anyway! This vulnerability occurs due to the libxml2 canonicalization process mishandling invalid XML input, resulting in an empty string being treated as valid by ruby-saml during authentication checks, which allows for a Signature Wrapping attack.

What to do

An attacker could effectively bypass authentication, gaining unauthorized access to sensitive areas like a VIP guest crashing an exclusive party. This could lead to data exposure, compromised accounts, or worse! Immediately upgrade to ruby-saml version 1.18.0 or later to close this critical vulnerability. Regularly audit your dependencies to ensure you’re running secure versions, and test your apps to verify their security measures. You’ve got this! Follow these steps, and you’ll safeguard your systems like a pro! 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00235 · 13.6th percentile
Weakness
CWE-347 · Improper Verification of Cryptographic Signature
Published
2025-12-09T21:18Z
Affected products (1)
ProductVersionsFixed in
onelogin/ruby-saml< 1.18.01.18.0
References (2)
EPSS history
Timeline
  • 09 DEC 02:03Z
    ruby-saml Libxml2 Canonicalization errors can bypass Digest/Signature validation
    cvelistv5