
CVE catalog
CVE-2026-25500
Rack vulnerabilities
- Severity
- Medium · CVSS 5.4
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.27% · Oct 27, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | ruby-rack | sid | 3.2.7-1 | fixed |
| Debian | ruby-rack | forky | 3.2.7-1 | fixed |
| Debian | ruby-rack | trixie | 3.1.20-0+deb13u1 | fixed |
| Debian | ruby-rack | trixie-security | 3.1.20-0+deb13u2 | fixed |
| Debian | ruby-rack | bookworm | 2.2.22-0+deb12u1 | fixed |
| Debian | ruby-rack | bookworm-security | 2.2.22-0+deb12u2 | fixed |
| Ubuntu | ruby-rack | noble | Not reported | vulnerable |
| Ubuntu | ruby-rack | noble | 2.2.7-1ubuntu0.6 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ruby-rack | source | sid | 3.2.5-1 | not yet assigned | Not reported | [1128480] |
| Debian | ruby-rack | source | forky | 3.2.5-1 | not yet assigned | Not reported | [1128480] |
| Debian | ruby-rack | source | trixie | 3.1.20-0+deb13u1 | not yet assigned | Not reported | [1128480] |
| Debian | ruby-rack | source | bookworm | 2.2.22-0+deb12u1 | not yet assigned | Not reported | [1128480] |
| Ubuntu | ruby-rack | deb | noble | 2.2.7-1ubuntu0.6 | Not reported | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [ruby-rack]Fixed
Details (4)
2.2.22-0+deb12u1· all · bookwormFixed · Fixed:
2.2.22-0+deb12u1usn · ruby-rack · debian · bookworm; usn · ruby-rack · debian · 12
2.2.22-0+deb12u1· all · bookwormFixed · Fixed:
2.2.22-0+deb12u1usn · ruby-rack · debian · bookworm; usn · ruby-rack · debian · 12
2.2.22-0+deb12u2· all · bookworm-securityFixed · Fixed:
2.2.22-0+deb12u1usn · ruby-rack · debian · bookworm; usn · ruby-rack · debian · 12
2.2.22-0+deb12u2· all · bookworm-securityFixed · Fixed:
2.2.22-0+deb12u1usn · ruby-rack · debian · bookworm; usn · ruby-rack · debian · 12
[Debian 13 (Trixie)]
- [ruby-rack]Fixed
Details (5)
3.1.20-0+deb13u1· all · trixieFixed · Fixed:
3.1.20-0+deb13u1usn · ruby-rack · debian · 13
3.1.20-0+deb13u1· all · trixieFixed · Fixed:
3.1.20-0+deb13u1usn · ruby-rack · debian · 13
3.1.20-0+deb13u1· all · trixie-securityFixed · Fixed:
3.1.20-0+deb13u1usn · ruby-rack · debian · 13
3.1.20-0+deb13u1· all · trixie-security · Historical versionFixed · Fixed:
3.1.20-0+deb13u1usn · ruby-rack · debian · 13
3.1.20-0+deb13u2· all · trixie-securityFixed · Fixed:
3.1.20-0+deb13u1usn · ruby-rack · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_10286-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-25500]
- [https://security-tracker.debian.org/tracker/CVE-2026-25500]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25500.json]
- [https://ubuntu.com/security/notices/USN-8066-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-0881.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]