Security mailing lists by PureSourceCode

CVE-2025-66568

CRITICAL 9.3CVSS 4.0

Ruby-saml allows a Libxml2 Canonicalization error to bypass Digest/Signature validation

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.

Published
9 Dec 2025
Last modified
14 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-347
Also known as
GHSA-x4h9-gwv3-r4m4
Sources
NVDJSONOSV GHSA-x4h9-gwv3-r4m4JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 CRITICAL 9.3 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.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
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD onelogin ruby-saml
cpe:2.3:a:onelogin:ruby-saml:*:*:*:*:*:*:*:*
< 1.18.0 1.18.0
OSV RubyGems ruby-saml < 1.18.0 1.18.0

References

History

  • 25 Nov 2026 20:59 UTC · NVD: first stored (published 9 Dec 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 8 Dec 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.