cvedb.io
CVE-2025-66568
CRITICAL · CVSS 9.1
EPSS exploitation probability: 0%
Published 2025-12-09T16:18:21.427 · Last modified 2026-06-17T09:57:02.777

Summary

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 products

onelogin — ruby-saml

Does this affect you?

Add your gear to cvedb and we'll alert you only when onelogin ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.