Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2025-25291

ruby-saml provides security assertion markup language (SAML) single si ...

Overview

Published
12 Mar 2025
Modified
17 Jun 2026
Critical CVE
2 Registry packages
1 OS packages
3 Linux distributions
Yes Fix available

Description

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.

Source: OX vulnerability database

Severity

9.8 · CRITICAL

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness: CWE-347, CWE-436

Affected packages · 2

Packages affected by CVE-2025-25291
EcosystemPackageVulnerableFixed in
Bitnami gitlab <17.9.2 17.9.2
RubyGems ruby-saml <1.12.4>=1.13.0, <1.18.0 1.12.41.18.0~> 1.12.4

Open a package to see all its vulnerabilities.

Operating systems · 7 fixes

debian 2 releases · 1 package

fixed 1 affected 1
ruby-saml
debian fixes for CVE-2025-25291
ReleasePackageFixed in
11 ruby-saml 1.11.0-1+deb11u2
12 ruby-saml affected

echo 1 release · 1 package

affected 1
ruby-saml
echo fixes for CVE-2025-25291
ReleasePackageFixed in
ruby-saml affected

ubuntu 4 releases · 1 package

fixed 2 affected 2
ruby-saml
ubuntu fixes for CVE-2025-25291
ReleasePackageFixed in
18.04-ESM ruby-saml 1.7.2-1ubuntu0.1~esm2
20.04-ESM ruby-saml 1.11.0-1ubuntu0.1+esm1
22.04 ruby-saml affected
24.04 ruby-saml affected

References

Show all 20 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.