CVE-2025-66568
CVE-2025-66568 is a critical-severity vulnerability in Onelogin Ruby-saml with a CVSS 3.x base score of 9.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-347.
Key facts
- Severity: Critical (CVSS 3.x base score 9.1)
- CVSS v4: 9.3
- EPSS exploit prediction: 0% (11th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-201828
- Weakness: CWE-347
- Affected product: Onelogin Ruby-saml
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2025-66568?
- 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.
- How severe is CVE-2025-66568?
- CVE-2025-66568 has a CVSS 3.x base score of 9.1, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability none.
- Is CVE-2025-66568 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (11th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-66568?
- CVE-2025-66568 affects Onelogin Ruby-saml. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-66568?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- Does CVE-2025-66568 have an EU (EUVD) identifier?
- Yes. CVE-2025-66568 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-201828.
- When was CVE-2025-66568 published?
- CVE-2025-66568 was published on 2025-12-09 and last updated on 2026-06-17.
References
- https://github.com/SAML-Toolkits/ruby-saml/commit/acac9e9cc0b9a507882c614f25d41f8b47be349a
- https://github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-x4h9-gwv3-r4m4
Affected products (1)
- cpe:2.3:a:onelogin:ruby-saml:*:*:*:*:*:*:*:*
More vulnerabilities in Onelogin Ruby-saml
- CVE-2024-45409 — Critical (CVSS 10.0): The Ruby SAML library is for implementing the client side of a SAML authorization. Ruby-SAML in <= 12.2 and 1.13.0 <=…
- CVE-2025-25292 — Critical (CVSS 9.8): ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby. An authentication bypass…
- CVE-2025-25291 — Critical (CVSS 9.8): ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby. An authentication bypass…
- CVE-2015-20108 — Critical (CVSS 9.8): xml_security.rb in the ruby-saml gem before 1.0.0 for Ruby allows XPath injection and code execution because prepared…
- CVE-2025-66567 — Critical (CVSS 9.1): The ruby-saml library is for implementing the client side of a SAML authorization. ruby-saml versions up to and…
- CVE-2017-11428 — High (CVSS 7.7): OneLogin Ruby-SAML 1.6.0 and earlier may incorrectly utilize the results of XML DOM traversal and canonicalization APIs…
All CVEs affecting Onelogin Ruby-saml →
Other CWE-347 (Improper Verification of Cryptographic Signature) vulnerabilities
- CVE-2026-48558 — Critical (CVSS 10.0): SimpleHelp versions 5.5.15 and prior and 6.0 pre-release versions contain an authentication bypass vulnerability in the…
- CVE-2023-25574 — Critical (CVSS 10.0): `jupyterhub-ltiauthenticator` is a JupyterHub authenticator for learning tools interoperability (LTI).…
- CVE-2024-45409 — Critical (CVSS 10.0): The Ruby SAML library is for implementing the client side of a SAML authorization. Ruby-SAML in <= 12.2 and 1.13.0 <=…
- CVE-2024-32962 — Critical (CVSS 10.0): xml-crypto is an xml digital signature and encryption library for Node.js. In affected versions the default…
- CVE-2022-24884 — Critical (CVSS 10.0): ecdsautils is a tiny collection of programs used for ECDSA (keygen, sign, verify). `ecdsa_verify_[prepare_]legacy()`…
- CVE-2021-33885 — Critical (CVSS 10.0): An Insufficient Verification of Data Authenticity vulnerability in B. Braun SpaceCom2 prior to 012U000062 allows a…
Browse all CWE-347 (Improper Verification of Cryptographic Signature) vulnerabilities →