Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2025-25291: ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby

72
This week
CRITICAL 9.8REMOTEUPGRADEUPGRADEMITIGATE

CVE-2025-25291 is a critical-severity flaw (CVSS 9.8) affecting omniauth saml, ruby-saml, storagegrid. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 a

Why this priority

  • Critical severity
  • EPSS top 2%: very likely to be exploited
  • Public exploit reference
  • CISA SSVC: automatable with total technical impact
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score9.8 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance21.0% (top 2%)
CISA exploited listNo
WeaknessCWE-347, CWE-436
Published2025-03-12
Last modified2026-06-17
Publisher (CNA): GitHub, Inc. · Vendor: netapp · omniauth · onelogin

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

omniauth omniauth saml UPGRADE
Affected: < 1.10.6 · >= 2.0.0 and < 2.1.3 · >= 2.2.0 and < 2.2.3
Fixed in: 1.10.6, 2.1.3, 2.2.3
Safe to downgrade to: a release before 2.0.0
1. Check installed version
apt-cache policy omniauth-saml || rpm -q omniauth-saml || omniauth-saml --version
2. UPGRADE to 1.10.6 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade omniauth-saml
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade omniauth-saml
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 2.0.0 (Debian / Ubuntu)
apt-cache madison omniauth-saml sudo apt install omniauth-saml=<VERSION_BEFORE_2.0.0> sudo apt-mark hold omniauth-saml
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list omniauth-saml sudo dnf downgrade omniauth-saml-<VERSION_BEFORE_2.0.0> sudo dnf versionlock add omniauth-saml
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
onelogin ruby-saml UPGRADE
Affected: < 1.12.4 · >= 1.13.0 and < 1.18.0
Fixed in: 1.12.4, 1.18.0
Safe to downgrade to: a release before 1.13.0
1. Check installed version
apt-cache policy ruby-saml || rpm -q ruby-saml || ruby-saml --version
2. UPGRADE to 1.12.4 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade ruby-saml
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade ruby-saml
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 1.13.0 (Debian / Ubuntu)
apt-cache madison ruby-saml sudo apt install ruby-saml=<VERSION_BEFORE_1.13.0> sudo apt-mark hold ruby-saml
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list ruby-saml sudo dnf downgrade ruby-saml-<VERSION_BEFORE_1.13.0> sudo dnf versionlock add ruby-saml
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
netapp storagegrid MITIGATE
Affected: all versions
Fixed in: no fixed release known
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy storagegrid || rpm -q storagegrid || storagegrid --version
No fixed or unaffected release known
Apply the vendor mitigation from the advisory, disable the affected feature, or restrict network access.

Exact fixes by distribution

A distro patch exists: prefer upgrading over downgrading.
RubyGems · ruby-saml · FIXED · 1.12.4 · vulnerable: < 1.12.4 · source
bundle update ruby-saml bundle list | grep ruby-saml
Fedora ELN · ibus-typing-booster · FIXED · 2.31.3-1.eln159 · FEDORA-2026-c895c68d60 · source
sudo dnf upgrade --advisory=FEDORA-2026-c895c68d60
Fedora 46 · perl-WWW-OrangeHRM-Client · FIXED · 0.12.0-21.fc46 · FEDORA-2026-2d14efca09 · source
sudo dnf upgrade --advisory=FEDORA-2026-2d14efca09
Ubuntu 20.04 · ruby-saml · FIXED · 1.11.0-1ubuntu0.1+esm1
sudo apt update && sudo apt install --only-upgrade ruby-saml dpkg --compare-versions "$(dpkg-query -W -f='${Version}' ruby-saml)" ge "1.11.0-1ubuntu0.1+esm1" && echo PATCHED || echo STILL-VULNERABLE
Ubuntu 22.04 · ruby-saml · FIXED · 1.13.0-1ubuntu0.1+esm1
sudo apt update && sudo apt install --only-upgrade ruby-saml dpkg --compare-versions "$(dpkg-query -W -f='${Version}' ruby-saml)" ge "1.13.0-1ubuntu0.1+esm1" && echo PATCHED || echo STILL-VULNERABLE
Ubuntu 24.04 · ruby-saml · FIXED · 1.15.0-1ubuntu0.24.04.1+esm1
sudo apt update && sudo apt install --only-upgrade ruby-saml dpkg --compare-versions "$(dpkg-query -W -f='${Version}' ruby-saml)" ge "1.15.0-1ubuntu0.24.04.1+esm1" && echo PATCHED || echo STILL-VULNERABLE
Ubuntu 24.10 · ruby-saml · FIXED · 1.15.0-1ubuntu0.24.10.2
sudo apt update && sudo apt install --only-upgrade ruby-saml dpkg --compare-versions "$(dpkg-query -W -f='${Version}' ruby-saml)" ge "1.15.0-1ubuntu0.24.10.2" && echo PATCHED || echo STILL-VULNERABLE
Debian 12 · ruby-saml · NO FIX YET

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2025-25291?

omniauth saml: upgrade to 1.10.6, 2.1.3, 2.2.3; ruby-saml: upgrade to 1.12.4, 1.18.0; storagegrid: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2025-25291 being exploited?

CVE-2025-25291 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2025-25291 affect?

CVE-2025-25291 affects omniauth saml, ruby-saml, storagegrid. Severity is critical (CVSS 9.8). 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 p

How urgent is CVE-2025-25291?

Priority 72/100. Critical severity; EPSS top 2%: very likely to be exploited; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action

Software pages

Ruby vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.