# CVE-2026-25500: ruby-rack: Rack is a modular Ruby web server interface

CVE-2026-25500 is fixed in ruby-rack on 1 platform, first by ruby-rack 3.2.4-1ubuntu1, released February 18, 2026. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2026-25500
- Priority: Routine
- CVSS: 5.4 (Medium)
- EPSS: 0.0027
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Feb 18, 2026

## Description

Rack is a modular Ruby web server interface. Prior to versions 2.2.22, 3.1.20, and 3.2.5, `Rack::Directory` generates an HTML directory index where each file entry is rendered as a clickable link. If a file exists on disk whose basename starts with the `javascript:` scheme (e.g. `javascript:alert(1)`), the generated index contains an anchor whose `href` is exactly `javascript:alert(1)`. Clicking the entry executes JavaScript in the browser (demonstrated with `alert(1)`). Versions 2.2.22, 3.1.20, and 3.2.5 fix the issue.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | ruby-rack Debian 12.15 (bookworm) | 2.2.22-0+deb12u1 | [DEBIAN-CVE-2026-25500](https://patchblox.com/security/data/fix/linux/debian-cve-2026-25500.md) | Feb 18, 2026 |
| Linux | ruby-rack Debian 13.5 (trixie) | 3.1.20-0+deb13u1 | [DEBIAN-CVE-2026-25500](https://patchblox.com/security/data/fix/linux/debian-cve-2026-25500.md) | Feb 18, 2026 |
| Linux | ruby-rack Debian 14 | 3.2.5-1 | [DEBIAN-CVE-2026-25500](https://patchblox.com/security/data/fix/linux/debian-cve-2026-25500.md) | Feb 18, 2026 |
| Linux | ruby-rack Ubuntu 20.04 LTS (focal) | 2.0.7-2ubuntu0.1+esm9 | [ruby-rack 2.0.7-2ubuntu0.1+esm9](https://patchblox.com/security/data/fix/linux/ubuntu-focal-ruby-rack-2.0.7-2ubuntu0.1-esm9.md) | Mar 12, 2026 |
| Linux | ruby-rack Ubuntu 22.04.1 LTS (jammy) | 2.1.4-5ubuntu1.2+esm2 | [ruby-rack 2.1.4-5ubuntu1.2+esm2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-ruby-rack-2.1.4-5ubuntu1.2-esm2.md) | Mar 12, 2026 |
| Linux | ruby-rack Ubuntu 24.04.5 LTS (noble) | 2.2.7-1ubuntu0.6 | [ruby-rack 2.2.7-1ubuntu0.6](https://patchblox.com/security/data/fix/linux/ubuntu-noble-ruby-rack-2.2.7-1ubuntu0.6.md) | Mar 12, 2026 |
| Linux | ruby-rack Ubuntu 25.10 (questing) | 3.1.16-0.1ubuntu0.2 | [ruby-rack 3.1.16-0.1ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-questing-ruby-rack-3.1.16-0.1ubuntu0.2.md) | Mar 12, 2026 |
| Linux | ruby-rack Ubuntu 26.04.1 LTS (resolute) | 3.2.4-1ubuntu1 | [ruby-rack 3.2.4-1ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-ruby-rack-3.2.4-1ubuntu1.md) | Feb 18, 2026 |

---

Data as of 2026-11-09T01:18:40Z 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.
