Vulnerability · CVE-2025-66568
The ruby-saml library implements the client side of an SAML authorization.
Published Dec 9, 2025 · catalog updated Oct 14, 2026 · The ruby-saml library implements
Check if you run it
No confirmed exploitation is on record for CVE-2025-66568. EPSS is 0.24%. Act only if a listed version of The ruby-saml library implements is installed.
Gaps on this record
- The stored product name is a package slug. The name on this page is taken from the title (The ruby-saml library implements).
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
- Severity
- Critical9.3
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 0.24%
- Remediation
- Version ranges on file
- Affected products
- cpe onelogin/ruby-saml · stated ruby-saml
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.
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- cpe onelogin/ruby-samlversion unspecified
- stated ruby-saml<= 1.12.4
How to fix CVE-2025-66568
Recommended remediation
Affected version ranges suggest a fixed boundary. Verify against the vendor advisory for your release.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
No confirmed exploitation is on record for CVE-2025-66568. EPSS is 0.24%. Act only if a listed version of The ruby-saml library implements is installed.
Which versions are affected?
Compare what you have installed with <= 1.12.4. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
CWE-347: Improper Verification of Cryptographic Signature. EPSS 0.24%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
Dec 9, 2025 · NIST NVD
Detected
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 s
Oct 14, 2026 · NIST NVD
Updated
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 s
Sources
- CVE.orgVulnerability recordCVE-2025-66568
Official CVE identifier
cve.org - FIRST EPSSExploitation probabilityCVE-2025-66568
30-day exploitation probability 0.2%
first.org - NIST NVDVulnerability recordCVE-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
nvd.nist.gov
References
Freshness
Last verified in this catalog Oct 18, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.