CVE-2025-25292: Omniauth Saml Vulnerability

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.
Severity Level
CRITICAL(9.3)
Published Date
Mar 12, 2025
Last Modified
Sep 12, 2025
Exploitation Status
Public exploit available
Root Weakness (CWE)
The product does not verify, or incorrectly verifies, the cryptographic signature for data.
Product A handles inputs or steps differently than Product B, which causes A to perform incorrect actions based on its perception of B's state.
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:X
Attack 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:H
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

Affected & Patched Versions

Affected 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
Patched Versions
  • 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.

  1. Check whether you run Omniauth Saml and which version.
  2. Update to a patched version listed above, then confirm the new version.
  3. 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 alerts

Data last checked: Dec 3, 2026 16:14 UTC