CVE-2025-25291

CRITICALCVSS 9.8/10EPSS 19.51%

Last modified

CVE-2025-25291 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby. An authentication bypass vulnerability was found in ruby-saml prior to versions 1.12.4 and 1.18.0 due to a parser differential. EPSS estimates a 19.51% chance of exploitation in the next 30 days.

Description

ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby. An authentication bypass vulnerability was found in ruby-saml prior to versions 1.12.4 and 1.18.0 due to a parser differential. ReXML and Nokogiri parse XML differently; the parsers can generate entirely different document structures from the same XML input. That allows an attacker to be able to execute a Signature Wrapping attack. This issue may lead to authentication bypass. Versions 1.12.4 and 1.18.0 fix the issue.

Metrics

Weakness Enumeration

Affected Software

VendorProductVersions
OmniauthOmniauth Saml< 1.10.6
OmniauthOmniauth Saml>= 2.0.0, < 2.1.3
OmniauthOmniauth Saml>= 2.2.0, < 2.2.3
OneloginRuby-Saml< 1.12.4
OneloginRuby-Saml>= 1.13.0, < 1.18.0
NetappStoragegridAll versions

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2025-25291?
ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby. An authentication bypass vulnerability was found in ruby-saml prior to versions 1.12.4 and 1.18.0 due to a parser differential. ReXML and Nokogiri parse XML differently; the parsers can generate entirely different document structures from the same XML input. That allows an attacker to be able to execute a Signature Wrapping attack. This issue may lead to authentication bypass. Versions 1.12.4 and 1.18.0 fix the issue.
How severe is CVE-2025-25291?
CVE-2025-25291 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 19.51% probability of exploitation in the next 30 days.
How do I fix CVE-2025-25291?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2025

Are you affected by CVE-2025-25291?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST