SAML-Toolkits ruby-saml up to 1.17.x libxml2 Canonicalization signature verification
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.0 | $0-$5k | 0.00 |
Summary
A vulnerability labeled as critical has been found in SAML-Toolkits ruby-saml up to 1.17.x. This issue affects some unknown processing of the component libxml2 Canonicalization. The manipulation results in signature verification. This vulnerability is reported as CVE-2025-66568. The attack can be launched remotely. No exploit exists. The affected component should be upgraded.
Details
A vulnerability was found in SAML-Toolkits ruby-saml up to 1.17.x. It has been classified as critical. Affected is an unknown part of the component libxml2 Canonicalization. The manipulation with an unknown input leads to a signature verification vulnerability. CWE is classifying the issue as CWE-347. The product does not verify, or incorrectly verifies, the cryptographic signature for data. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
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.
The advisory is shared for download at github.com. This vulnerability is traded as CVE-2025-66568 since 12/04/2025. The exploitability is told to be easy. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. There are neither technical details nor an exploit publicly available.
The vulnerability scanner Nessus provides a plugin with the ID 278384 (Linux Distros Unpatched Vulnerability : CVE-2025-66568), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 1.18.0 eliminates this vulnerability.
The vulnerability is also documented in the vulnerability database at Tenable (278384). VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Type
Vendor
Name
Version
Website
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3
VulDB Meta Base Score: 8.2VulDB Meta Temp Score: 8.0
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
NVD Base Score: 9.1
NVD Vector: 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Signature verificationCWE: CWE-347 / CWE-345
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 278384
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-66568
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: ruby-saml 1.18.0
Timeline
12/04/2025 CVE reserved12/09/2025 Advisory disclosed
12/09/2025 VulDB entry created
12/12/2025 VulDB entry last update
Sources
Product: github.comAdvisory: github.com
Status: Confirmed
CVE: CVE-2025-66568 (🔒)
GCVE (CVE): GCVE-0-2025-66568
GCVE (VulDB): GCVE-100-334932
Entry
Created: 12/09/2025 07:50Updated: 12/12/2025 04:00
Changes: 12/09/2025 07:50 (67), 12/11/2025 10:44 (11), 12/12/2025 04:00 (2)
Complete: 🔍
Cache ID: 216:C8F:103
No comments yet. Languages: en.
Please log in to comment.