CVE-2025-25291

CRITICAL
Published Mar 12, 2025 Modified Nov 3, 2025 CWE-347 CWE-436

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.

CVSS v3.1 Score

9.8
CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness Type (CWE)

CWE-347 CWE-347
CWE-436 CWE-436

Affected Products

Vendor Product
omniauth omniauth_saml
omniauth omniauth_saml
omniauth omniauth_saml
onelogin ruby-saml
onelogin ruby-saml
netapp storagegrid

References

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. It has a CVSS v3.1 base score of 9.8 (CRITICAL).
How severe is CVE-2025-25291? +
CVE-2025-25291 has a CVSS v3.1 score of 9.8 out of 10, rated CRITICAL. This is a critical vulnerability that should be patched immediately.
What products are affected by CVE-2025-25291? +
CVE-2025-25291 affects products from netapp, omniauth, onelogin, specifically: omniauth_saml, ruby-saml, storagegrid. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2025-25291? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2025-25291 — free, no signup required.

Start Free Scan