Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2025-66568: The ruby-saml library implements the client side of an SAML authorization

41
This month
CRITICAL 9.1REMOTEUPGRADE

CVE-2025-66568 is a critical-severity flaw (CVSS 9.1) affecting ruby-saml. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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

Why this priority

  • Critical severity
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score9.1 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance0.2% (top 84%)
CISA exploited listNo
WeaknessCWE-347
Published2025-12-09
Last modified2026-10-14
Publisher (CNA): GitHub, Inc. · Vendor: onelogin

Share: LinkedIn · X · Reddit

Last updated 2026-10-14 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

onelogin ruby-saml UPGRADE
Affected: < 1.18.0
Fixed in: 1.18.0
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy ruby-saml || rpm -q ruby-saml || ruby-saml --version
2. UPGRADE to 1.18.0 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade ruby-saml
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade ruby-saml
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2025-66568?

ruby-saml: upgrade to 1.18.0. Exact commands for each OS are on this page.

Is CVE-2025-66568 being exploited?

CVE-2025-66568 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2025-66568 affect?

CVE-2025-66568 affects ruby-saml. Severity is critical (CVSS 9.1). 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 transformatio

How urgent is CVE-2025-66568?

Priority 41/100. Critical severity; Remotely exploitable, no login, no user action

Software pages

Ruby vulnerabilities · libxml2 vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.