Skip to main content
VulnerabilityPublished Updated

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

Affects ruby-samlSource GCVE Database

0
Compare
Authoritative record:CVE-2025-66568· Critical 9.3

Not known to be exploited · CVSS 9.3 Critical · fixed in 1.18.0 : patch ruby-saml as a priority.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 4.0 base score
9.3Critical
How severe the flaw is on the 0–10 CVSS scale.

Contested

Critical score, yet low EPSS after six months
EPSS
0.2% chance of exploitation in 30 days – higher than 18% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.18.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu Pro 24.04 LTSruby-samlpkg:deb/ubuntu/ruby-saml?arch=source&distro=esm-apps/nobleOther threatsAffected
  • =1.15.0-1
  • =1.15.0-1ubuntu0.24.04.1
  • =1.15.0-1ubuntu0.24.04.1+esm1
Fixed in–
Ubuntu Pro 22.04 LTSruby-samlpkg:deb/ubuntu/ruby-saml?arch=source&distro=esm-apps/jammyOther threatsAffected
  • 1.11.0-1 – 1.13.0-1ubuntu0.1+esm1
4 affected builds
Fixed in–
Ubuntu Pro 20.04 LTSruby-samlpkg:deb/ubuntu/ruby-saml?arch=source&distro=esm-apps/focalOther threatsAffected
  • 1.7.2-1 – 1.11.0-1ubuntu0.1+esm1
4 affected builds
Fixed in–
Ubuntu Pro 18.04 LTSruby-samlpkg:deb/ubuntu/ruby-saml?arch=source&distro=esm-apps/bionicOther threatsAffected
  • 1.4.1-1 – 1.7.2-1ubuntu0.1~esm2
4 affected builds
Fixed in–
Ubuntu Pro 16.04 LTSruby-samlpkg:deb/ubuntu/ruby-saml?arch=source&distro=esm-apps/xenialOther threatsAffected
  • 0.9.2-1 – 1.1.2-1ubuntu1+esm2
5 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…