Improper Verification of Cryptographic Signature Affecting ruby-saml package, versions <1.18.0


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUBY-RUBYSAML-14222437
  • published9 Dec 2025
  • disclosed8 Dec 2025
  • creditd0ge

Introduced: 8 Dec 2025

NewCVE-2025-66567  (opens in a new tab)
CWE-347  (opens in a new tab)

How to fix?

Upgrade ruby-saml to version 1.18.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Verification of Cryptographic Signature due to differences in XML document namespace parsing between REXML and Nokogiri, implemented in xml_security.rb. An attacker can bypass authentication via Signature Wrapping attack.

Note: This vulnerability is a bypass of the fix for CVE-2025-25292 in version 1.12.4. Version 1.18.0 is not vulnerable to this bypass.

CVSS Base Scores

version 4.0
version 3.1