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

CVE-2025-25291 is fixed in ruby-saml on 1 platform, first by ruby-saml 1.7.2-1ubuntu0.1~esm2, released March 12, 2025. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2025-25291
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.2097
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Mar 12, 2025

## Description

ruby-saml provides security assertion markup language (SAML) single sign-on(SSO) for Ruby. An authentication bypass vulnerability was found inruby-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 entirelydifferent document structures from the same XML input. That allows anattacker to be able to execute a Signature Wrapping attack. This issue maylead to authentication bypass. Versions 1.12.4 and 1.18.0 fix the issue.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | ruby-saml Debian 11.6 (bullseye) | 1.11.0-1+deb11u2 | [DLA-4115-1](https://patchblox.com/security/data/fix/linux/dla-4115-1.md) | Apr 5, 2025 |
| Linux | ruby-saml Ubuntu 18.04.6 LTS (bionic) | 1.7.2-1ubuntu0.1~esm2 | [ruby-saml 1.7.2-1ubuntu0.1~esm2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-ruby-saml-1.7.2-1ubuntu0.1-esm2.md) | Mar 12, 2025 |
| Linux | ruby-saml Ubuntu 20.04 LTS (focal) | 1.11.0-1ubuntu0.1+esm1 | [ruby-saml 1.11.0-1ubuntu0.1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-ruby-saml-1.11.0-1ubuntu0.1-esm1.md) | Mar 12, 2025 |
| Linux | ruby-saml Ubuntu 22.04.1 LTS (jammy) | 1.13.0-1ubuntu0.1+esm1 | [ruby-saml 1.13.0-1ubuntu0.1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-ruby-saml-1.13.0-1ubuntu0.1-esm1.md) | Mar 12, 2025 |
| Linux | ruby-saml Ubuntu 24.04.5 LTS (noble) | 1.15.0-1ubuntu0.24.04.1+esm1 | [ruby-saml 1.15.0-1ubuntu0.24.04.1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-ruby-saml-1.15.0-1ubuntu0.24.04.1-esm1.md) | Mar 12, 2025 |
| Linux | ruby-saml Ubuntu 24.10 (oracular) | 1.15.0-1ubuntu0.24.10.2 | [ruby-saml 1.15.0-1ubuntu0.24.10.2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-ruby-saml-1.15.0-1ubuntu0.24.10.2.md) | Jan 16, 2026 |

---

Data as of 2026-11-08T19:12:23Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
