Vulnerabilities · 2025 · Onelogin
CVE-2025-66568
Onelogin Ruby-saml vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Ruby-saml. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Onelogin Ruby-saml runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-x4h9-gwv3-r4m4
- github.com/SAML-Toolkits/ruby-saml/commit/acac9e9cc0b9a507882c614f25d41f8b47be349a
- nvd.nist.gov/vuln/detail/CVE-2025-66568
- github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2025-66568.yml
- github.com/advisories/GHSA-x4h9-gwv3-r4m4
- nvd.nist.gov/vuln/detail/CVE-2025-66568
- cve.org/CVERecord?id=CVE-2025-66568
More vulnerabilities in Onelogin products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.