CVE-2025-25291

CRITICALNVD 9.8
9.8

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
9.8
EG Score
EPSS
KEV
Not listed

Published

March 12, 2025

Last Modified

November 3, 2025

Vendor Advisories for CVE-2025-25291(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Frequently asked(4)

What is CVE-2025-25291?
CVE-2025-25291 is a critical vulnerability published on March 12, 2025. 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…
When was CVE-2025-25291 disclosed?
CVE-2025-25291 was first published in the National Vulnerability Database on March 12, 2025, with the most recent update on November 3, 2025. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
What is the CVSS score of CVE-2025-25291?
CVE-2025-25291 has a CVSS v3 base score of 9.8 (NVD).
How do I remediate CVE-2025-25291?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2025-25291, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2025-25291

Explore →

Is Your Infrastructure Affected by CVE-2025-25291?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.