Vulnerability in Saml-toolkits Ruby-saml
CVE-2025-25292
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…
EPSS: 0.638 (99.1th percentile) — read the EPSS interpretation.
Affected products
- Saml-toolkits Ruby-saml — versions < 1.12.4, >= 1.13.0, < 1.18.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- https://github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-754f-8gm6-c4r2 (x_refsource_CONFIRM)
- https://github.com/omniauth/omniauth-saml/security/advisories/GHSA-hw46-3hmr-x9xv (x_refsource_MISC)
- https://github.com/SAML-Toolkits/ruby-saml/commit/e76c5b36bac40aedbf1ba7ffaaf495be63328cd9 (x_refsource_MISC)
- https://github.com/SAML-Toolkits/ruby-saml/commit/e9c1cdbd0f9afa467b585de279db0cbd0fb8ae97 (x_refsource_MISC)
- https://about.gitlab.com/releases/2025/03/12/patch-release-gitlab-17-9-2-released (x_refsource_MISC)
- https://github.blog/security/sign-in-as-anyone-bypassing-saml-sso-authentication-with-parser-differentials (x_refsource_MISC)
- https://github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.12.4 (x_refsource_MISC)
- https://github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.18.0 (x_refsource_MISC)
- https://portswigger.net/research/saml-roulette-the-hacker-always-wins (x_refsource_MISC)
- https://securitylab.github.com/advisories/GHSL-2024-329_GHSL-2024-330_ruby-saml (x_refsource_MISC)
Frequently asked questions
- What is CVE-2025-25292?
- CVE-2025-25292 is a vulnerability in Saml-toolkits Ruby-saml, classified under Improper Verification of Cryptographic Signature. Published 2025-03-12.
- Is CVE-2025-25292 known to be exploited?
- 4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.