
CVE catalog
CVE-2025-27610
Rack vulnerabilities
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.17% · Oct 25, 2026
Rack provides an interface for developing web applications in Ruby. Prior to versions 2.2.13, 3.0.14, and 3.1.12, `Rack::Static` can serve files under the specified `root:` even if `urls:` are provided, which may expose other files under the specified `root:` unexpectedly. The vulnerability occurs because `Rack::Static` does not properly sanitize user-supplied paths before serving files. Specifically, encoded path traversal sequences are not correctly validated, allowing attackers to access files outside the designated static file directory. By exploiting this vulnerability, an attacker can gain access to all files under the specified `root:` directory, provided they are able to determine then path of the file. Versions 2.2.13, 3.0.14, and 3.1.12 contain a patch for the issue. Other mitigations include removing usage of `Rack::Static`, or ensuring that `root:` points at a directory path which only contains files which should be accessed publicly. It is likely that a CDN or similar static file server would also mitigate 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 | 2.2.7-1ubuntu0.2 | fixed |
| Ubuntu | ruby-rack | pro | 2.1.4-3 | vulnerable |
| Ubuntu | ruby-rack | pro | 2.1.4-4 | vulnerable |
| Ubuntu | ruby-rack | pro | 2.1.4-5 | vulnerable |
| Ubuntu | ruby-rack | pro | 2.1.4-5ubuntu1 | vulnerable |
| Ubuntu | ruby-rack | pro | 2.1.4-5ubuntu1+esm2 | vulnerable |
| Ubuntu | ruby-rack | pro | 2.1.4-5ubuntu1+esm3 | vulnerable |
| Ubuntu | ruby-rack | pro | 2.1.4-5ubuntu1+esm4 | vulnerable |
| Ubuntu | ruby-rack | pro | 2.1.4-5ubuntu1+esm5 | vulnerable |
| Ubuntu | ruby-rack | pro | 2.1.4-5ubuntu1.1 | vulnerable |
| Ubuntu | ruby-rack | pro | 2.1.4-5ubuntu1.1+esm1 | fixed |
| Ubuntu | ruby-rack | 24.04 | 2.2.4-3 | vulnerable |
| Ubuntu | ruby-rack | 24.04 | 2.2.7-1 | vulnerable |
| Ubuntu | ruby-rack | 24.04 | 2.2.7-1ubuntu0.1 | vulnerable |
| Ubuntu | ruby-rack | 24.04 | 2.2.7-1ubuntu0.2 | fixed |
| Ubuntu | ruby-rack | 25.10 | 2.2.7-1.1 | vulnerable |
| Ubuntu | ruby-rack | 25.10 | 3.1.16-0.1 | fixed |
| Ubuntu | ruby-rack | 26.04 | 3.1.16-0.1 | fixed |
| Opensuse | rubygem-rack-2.2 | tumbleweed | 2.2.13-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ruby-rack | source | sid | 3.1.12-1 | not yet assigned | Not reported | [1100444] |
| Debian | ruby-rack | source | forky | 3.1.12-1 | not yet assigned | Not reported | [1100444] |
| Debian | ruby-rack | source | trixie | 3.1.12-1 | not yet assigned | Not reported | [1100444] |
| Debian | ruby-rack | source | bookworm | 2.2.13-1~deb12u1 | not yet assigned | Not reported | [1100444] |
| Ubuntu | ruby-rack | deb | noble | 2.2.7-1ubuntu0.2 | Not reported | Not reported | Not reported |
| Ubuntu | ruby-rack | deb | pro | 2.1.4-5ubuntu1.1+esm1 | Not reported | UBUNTU-CVE-2025-27610 | Not reported |
| Ubuntu | ruby-rack | deb | 24.04 | 2.2.7-1ubuntu0.2 | Not reported | UBUNTU-CVE-2025-27610 | Not reported |
| Ubuntu | ruby-rack | deb | 25.10 | 3.1.16-0.1 | Not reported | UBUNTU-CVE-2025-27610 | Not reported |
| Ubuntu | ruby-rack | deb | 26.04 | 3.1.16-0.1 | Not reported | UBUNTU-CVE-2025-27610 | Not reported |
| Opensuse | rubygem-rack-2.2 | rpm | tumbleweed | 2.2.13-1.1 | Not reported | OPENSUSE-SU-2025:14876-1 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [ruby4.0-rubygem-rack-2.2]Unknown
Source package: [rubygem-rack-2.2]
Details (1)
2.2.23-1.3· x86_64 · tumbleweedUnknown · Fixed:
2.2.13-1.1Version impact unknown
usn · rubygem-rack-2.2 · opensuse · tumbleweed
[Debian 12 (Bookworm)]
- [ruby-rack]Fixed
Details (4)
2.2.22-0+deb12u1· all · bookwormFixed · Fixed:
2.2.13-1~deb12u1usn · ruby-rack · debian · bookworm; usn · ruby-rack · debian · 12
2.2.22-0+deb12u1· all · bookwormFixed · Fixed:
2.2.13-1~deb12u1usn · ruby-rack · debian · bookworm; usn · ruby-rack · debian · 12
2.2.22-0+deb12u2· all · bookworm-securityFixed · Fixed:
2.2.13-1~deb12u1usn · ruby-rack · debian · bookworm; usn · ruby-rack · debian · 12
2.2.22-0+deb12u2· all · bookworm-securityFixed · Fixed:
2.2.13-1~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.12-1usn · ruby-rack · debian · 13
3.1.20-0+deb13u1· all · trixieFixed · Fixed:
3.1.12-1usn · ruby-rack · debian · 13
3.1.20-0+deb13u1· all · trixie-securityFixed · Fixed:
3.1.12-1usn · ruby-rack · debian · 13
3.1.20-0+deb13u1· all · trixie-security · Historical versionFixed · Fixed:
3.1.12-1usn · ruby-rack · debian · 13
3.1.20-0+deb13u2· all · trixie-securityFixed · Fixed:
3.1.12-1usn · ruby-rack · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2025_0858-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-27610]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2025-27610]
- [https://osv.dev/vulnerability/openSUSE-SU-2025:14876-1]
- [https://security-tracker.debian.org/tracker/CVE-2025-27610]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-27610.json]
- [https://ubuntu.com/security/notices/USN-7366-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2025/wid-sec-w-2025-0681.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)]