# CVE-2025-25292: Ruby SAML vulnerable to SAML authentication bypass due to namespace handling (parser differential)

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2025-03-12 · Modified: 2025-11-03
- Aliases: UBUNTU-CVE-2025-25292, DEBIAN-CVE-2025-25292, GHSA-754f-8gm6-c4r2, BIT-gitlab-2025-25292
- Record: https://cvemate.com/vulnerability/CVE-2025-25292 · JSON: https://cvemate.com/vulnerability/CVE-2025-25292/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 65.086%, percentile 99.268%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 2 (reference)

## Affected

- debian ruby-saml (Debian): All versions (No fix recorded)
- ubuntu ruby-saml (Ubuntu): All versions (No fix recorded) \| \< 1.7.2-1ubuntu0.1~esm2 \| \< 1.11.0-1ubuntu0.1+esm1 \| \< 1.13.0-1ubuntu0.1+esm1 \| \< 1.15.0-1ubuntu0.24.04.1+esm1
- RubyGems ruby-saml (RubyGems): ≥ 1.13.0, \< 1.18.0 \| \< 1.12.4
- netapp storagegrid: na
- omniauth omniauth\_saml: \< 1.10.6 \| ≥ 2.0.0, \< 2.1.3 \| ≥ 2.2.0, \< 2.2.3
- onelogin ruby-saml: \< 1.12.4 \| ≥ 1.13.0, \< 1.18.0
- saml-toolkits ruby-saml: \< 1.12.4 \| ≥ 1.13.0, \< 1.18.0

## References (first 20 of 21)

- <https://github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-754f-8gm6-c4r2>
- <https://github.com/omniauth/omniauth-saml/security/advisories/GHSA-hw46-3hmr-x9xv>
- <https://github.com/SAML-Toolkits/ruby-saml/commit/e76c5b36bac40aedbf1ba7ffaaf495be63328cd9>
- <https://github.com/SAML-Toolkits/ruby-saml/commit/e9c1cdbd0f9afa467b585de279db0cbd0fb8ae97>
- <https://about.gitlab.com/releases/2025/03/12/patch-release-gitlab-17-9-2-released>
- <https://github.blog/security/sign-in-as-anyone-bypassing-saml-sso-authentication-with-parser-differentials>
- <https://github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.12.4>
- <https://github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.18.0>
- <https://portswigger.net/research/saml-roulette-the-hacker-always-wins>
- <https://securitylab.github.com/advisories/GHSL-2024-329_GHSL-2024-330_ruby-saml>
- <https://security.netapp.com/advisory/ntap-20250314-0009/>
- <https://news.ycombinator.com/item?id=43374519>
- <https://lists.debian.org/debian-lts-announce/2025/04/msg00011.html>
- <https://ubuntu.com/security/CVE-2025-25292>
- <https://www.cve.org/CVERecord?id=CVE-2025-25292>
- <https://ubuntu.com/security/notices/USN-7409-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-25292>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-25292>
- <https://github.com/SAML-Toolkits/ruby-saml>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2025-25292.yml>

---

Data as of 2026-12-05T03:21:18.404Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
