Critical severity9.8NVD Advisory· Published Mar 12, 2025· Updated Jun 17, 2026
CVE-2025-25292
CVE-2025-25292
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 contain a patch for the issue.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
ruby-samlRubyGems | >= 1.13.0, < 1.18.0 | 1.18.0 |
ruby-samlRubyGems | < 1.12.4 | 1.12.4 |
Affected products
3- osv-coords2 versions
< 17.9.2+ 1 more
- (no CPE)range: < 17.9.2
- (no CPE)range: >= 1.13.0, < 1.18.0
- Range: < 1.12.4
Patches
Vulnerability mechanics
References
17- about.gitlab.com/releases/2025/03/12/patch-release-gitlab-17-9-2-releasednvdPatchWEB
- github.com/SAML-Toolkits/ruby-saml/commit/e76c5b36bac40aedbf1ba7ffaaf495be63328cd9nvdPatchWEB
- github.com/SAML-Toolkits/ruby-saml/commit/e9c1cdbd0f9afa467b585de279db0cbd0fb8ae97nvdPatchWEB
- github.blog/security/sign-in-as-anyone-bypassing-saml-sso-authentication-with-parser-differentialsnvdExploitThird Party AdvisoryWEB
- portswigger.net/research/saml-roulette-the-hacker-always-winsnvdExploitThird Party AdvisoryWEB
- github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-754f-8gm6-c4r2nvdVendor AdvisoryWEB
- github.com/advisories/GHSA-754f-8gm6-c4r2ghsaADVISORY
- github.com/omniauth/omniauth-saml/security/advisories/GHSA-hw46-3hmr-x9xvnvdVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2025-25292ghsaADVISORY
- security.netapp.com/advisory/ntap-20250314-0009/nvdThird Party Advisory
- securitylab.github.com/advisories/GHSL-2024-329_GHSL-2024-330_ruby-samlnvdThird Party AdvisoryADVISORY
- github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.12.4nvdRelease NotesWEB
- github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.18.0nvdRelease NotesWEB
- github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2025-25292.ymlghsaWEB
- lists.debian.org/debian-lts-announce/2025/04/msg00011.htmlnvdWEB
- news.ycombinator.com/itemnvdIssue TrackingWEB
- security.netapp.com/advisory/ntap-20250314-0009ghsaWEB
News mentions
2- The Fragile Lock: Novel Bypasses For SAML AuthenticationPortSwigger Research · Dec 10, 2025
- GitLab Critical Patch Release: 17.9.2, 17.8.5, 17.7.7GitLab Security Releases · Mar 12, 2025