CVE-2025-25291Omniauth Saml
Critical 9.3 No auth needed
Follow: this CVE · Omniauth · Omniauth Saml We alert you by email or Slack (account required).
- Priority
- 71
- CVSS 4.0
- 9.3
- EPSS
- —
- Auth required
- No
- Published
- Mar 12, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
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:X
What happens
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.
What to do
- Apply the vendor's security update for Omniauth Saml.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | ruby-saml |
< 1.12.4 |
1.12.4 |
gem "ruby-saml", ">= 1.12.4" |
| RubyGems | ruby-saml |
≥ 1.13.0 < 1.18.0 |
1.18.0 |
gem "ruby-saml", ">= 1.18.0" |
Per OSV / GitHub Advisories (GHSA-4vc4-m8qh-g8jm). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| omniauth | omniauth_saml | < 1.10.6 |
| omniauth | omniauth_saml | ≥ 2.0.0 < 2.1.3 |
| omniauth | omniauth_saml | ≥ 2.2.0 < 2.2.3 |
| onelogin | ruby-saml | < 1.12.4 |
| onelogin | ruby-saml | ≥ 1.13.0 < 1.18.0 |
| netapp | storagegrid | all |
Official sources
References
Links published by the sources. Open them with care.
- about.gitlab.com Patch
- github.blog Exploit Third Party Advisory
- github.com Patch
- github.com Patch
- github.com Release Notes
- github.com Release Notes
- github.com Vendor Advisory
- github.com Vendor Advisory
- portswigger.net Exploit Third Party Advisory
- securitylab.github.com Third Party Advisory
- lists.debian.org
- news.ycombinator.com Issue Tracking
- security.netapp.com Third Party Advisory