CVE-2025-25293Omniauth Saml
High 7.7 No auth needed
Follow: this CVE · Omniauth · Omniauth Saml We alert you by email or Slack (account required).
- Priority
- 61
- CVSS 4.0
- 7.7
- EPSS
- —
- Auth required
- No
- Published
- Mar 12, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P/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. Prior to versions 1.12.4 and 1.18.0, ruby-saml is susceptible to remote Denial of Service (DoS) with compressed SAML responses. ruby-saml uses zlib to decompress SAML responses in case they're compressed. It is possible to bypass the message size check with a compressed assertion since the message size is checked before inflation and not after. This issue may lead to remote Denial of Service (DoS). 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-92rq-c8cf-prrq). 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 |
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
- securitylab.github.com Exploit Third Party Advisory
- lists.debian.org
- security.netapp.com Third Party Advisory