CVE-2025-25292
NVDCVSS scored by security-advisories@github.com
Vulnerability Summary
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.
CVSS v4.0 Base Metrics — Score 9.3 (CRITICAL)
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)High
Availability (Vulnerable System)None
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 9.8)
CVSS v3.1 Base Metrics — Score 9.8 (CRITICAL)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
Affected & Patched Versions
- Omniauth Saml < 1.10.6
- Omniauth Saml >= 2.0.0 and < 2.1.3
- Omniauth Saml >= 2.2.0 and < 2.2.3
- Onelogin Ruby-saml < 1.12.4
- Onelogin Ruby-saml >= 1.13.0 and < 1.18.0
- Netapp Storagegrid
- Omniauth Saml 1.10.6
- Omniauth Saml 2.1.3
- Omniauth Saml 2.2.3
- Onelogin Ruby-saml 1.12.4
- Onelogin Ruby-saml 1.18.0
What to do
Prioritize this fix. Exploit code is public, so attacks can follow quickly.
- Check whether you run Omniauth Saml and which version.
- Update to a patched version listed above, then confirm the new version.
- Review logs and exposed services for signs of earlier compromise.
Timeline
- Mar 12, 2025Published
- Sep 12, 2025Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Omniauth Saml CVEsYou are reading CVE-2025-25292. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Patchhttps://about.gitlab.com/releases/2025/03/12/patch-release-gitlab-17-9-2-released
- Exploithttps://github.blog/security/sign-in-as-anyone-bypassing-saml-sso-authentication-with-parser-differentials
- Patchhttps://github.com/SAML-Toolkits/ruby-saml/commit/e76c5b36bac40aedbf1ba7ffaaf495be63328cd9
- Patchhttps://github.com/SAML-Toolkits/ruby-saml/commit/e9c1cdbd0f9afa467b585de279db0cbd0fb8ae97
- Referencehttps://github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.12.4
- Referencehttps://github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.18.0
- Vendor Advisoryhttps://github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-754f-8gm6-c4r2
- Vendor Advisoryhttps://github.com/omniauth/omniauth-saml/security/advisories/GHSA-hw46-3hmr-x9xv
- Exploithttps://portswigger.net/research/saml-roulette-the-hacker-always-wins
- Referencehttps://securitylab.github.com/advisories/GHSL-2024-329_GHSL-2024-330_ruby-saml
- Issue Trackinghttps://news.ycombinator.com/item?id=43374519
- Vendor Advisoryhttps://security.netapp.com/advisory/ntap-20250314-0009/
Data last checked: Dec 3, 2026 16:14 UTC