Skip to content
COOEY

EXPOSURES › CVE-2025-66568

CVE-2025-66568

CRITICAL
DETAIL
SourceNVD · cve Published2025-12-09 CVSS9.1 Referencehttps://nvd.nist.gov/vuln/detail/CVE-2025-66568 ↗
SHAME 72/100 auth-bypassunpatchedexploited-in-wild

CVE-2025-66568 in ruby-saml allows authentication bypass via signature wrapping in SAML authorization.

The ruby-saml library (versions up to 1.12.4) fails to properly validate XML canonicalization, enabling attackers to bypass authentication through signature wrapping attacks. DIB organizations using Onelogin or similar SAML-based identity providers must upgrade to version 1.18.0 immediately to prevent unauthorized access and maintain compliance with NIST 800-171 authentication controls.

Shame score — Authentication bypass vulnerabilities in widely used identity management libraries are high-severity and avoidable through timely patching, yet remain unaddressed in many deployments.

▸ RECOMMENDED ACTION  Critical severity — schedule patching of the affected products.

DESCRIPTION

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.

AFFECTED FEDRAMP PRODUCTS · 0
No correlated FedRAMP products.