CVE-2025-27610
published high CVSS 3.1 · 7.5Local File Inclusion in Rack::Static
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| rack | — | rack< 2.2.13 · >= 3.0, < 3.0.14 · >= 3.1, < 3.1.12 | Affected | Not stated | GitHub_M |
| Debian | bookworm | ruby-rack | Advisory build | 2.2.13-1~deb12u1 | DSA-5886-1 |
| SUSE / openSUSE | SLE-15-SP3 | ruby2.5-rubygem-rackaarch64 | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| Ubuntu | bionic | ruby-rack | Advisory build | 1.6.4-4ubuntu0.2+esm7 | USN-7366-1 |
| Debian | bullseye | ruby-rack | Advisory build | 2.1.4-3+deb11u3 | DLA-4090-1 |
| SUSE / openSUSE | SLE-15-SP3 | ruby2.5-rubygem-rackppc64le | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | SLE-15-SP3 | ruby2.5-rubygem-racks390x | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | SLE-15-SP3 | ruby2.5-rubygem-rackx86_64 | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
Show 53 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP4 | ruby2.5-rubygem-rackaarch64 | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | SLE-15-SP4 | ruby2.5-rubygem-rackppc64le | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | SLE-15-SP4 | ruby2.5-rubygem-racks390x | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | SLE-15-SP4 | ruby2.5-rubygem-rackx86_64 | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | SLE-15-SP5 | ruby2.5-rubygem-rackaarch64 | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | SLE-15-SP5 | ruby2.5-rubygem-rackppc64le | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | SLE-15-SP5 | ruby2.5-rubygem-racks390x | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | SLE-15-SP5 | ruby2.5-rubygem-rackx86_64 | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | SLE-15-SP6 | ruby2.5-rubygem-rackaarch64 | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | SLE-15-SP6 | ruby2.5-rubygem-rackppc64le | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | SLE-15-SP6 | ruby2.5-rubygem-racks390x | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | SLE-15-SP6 | ruby2.5-rubygem-rackx86_64 | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rackaarch64 | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rackppc64le | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-racks390x | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rackx86_64 | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rack-1_6aarch64 | Advisory build | 1.6.8-150000.3.3.1 | SUSE-SU-2025:0858-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rack-1_6ppc64le | Advisory build | 1.6.8-150000.3.3.1 | SUSE-SU-2025:0858-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rack-1_6s390x | Advisory build | 1.6.8-150000.3.3.1 | SUSE-SU-2025:0858-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rack-1_6x86_64 | Advisory build | 1.6.8-150000.3.3.1 | SUSE-SU-2025:0858-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rack-docaarch64 | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rack-docppc64le | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rack-docs390x | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rack-docx86_64 | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rack-doc-1_6aarch64 | Advisory build | 1.6.8-150000.3.3.1 | SUSE-SU-2025:0858-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rack-doc-1_6ppc64le | Advisory build | 1.6.8-150000.3.3.1 | SUSE-SU-2025:0858-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rack-doc-1_6s390x | Advisory build | 1.6.8-150000.3.3.1 | SUSE-SU-2025:0858-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rack-doc-1_6x86_64 | Advisory build | 1.6.8-150000.3.3.1 | SUSE-SU-2025:0858-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rack-testsuiteaarch64 | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rack-testsuiteppc64le | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rack-testsuites390x | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rack-testsuitex86_64 | Advisory build | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rack-testsuite-1_6aarch64 | Advisory build | 1.6.8-150000.3.3.1 | SUSE-SU-2025:0858-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rack-testsuite-1_6ppc64le | Advisory build | 1.6.8-150000.3.3.1 | SUSE-SU-2025:0858-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rack-testsuite-1_6s390x | Advisory build | 1.6.8-150000.3.3.1 | SUSE-SU-2025:0858-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | ruby2.5-rubygem-rack-testsuite-1_6x86_64 | Advisory build | 1.6.8-150000.3.3.1 | SUSE-SU-2025:0858-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-rack-2.2aarch64 | Advisory build | 2.2.13-1.1 | OPENSUSE-SU-2025:14876-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-rack-2.2ppc64le | Advisory build | 2.2.13-1.1 | OPENSUSE-SU-2025:14876-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-rack-2.2s390x | Advisory build | 2.2.13-1.1 | OPENSUSE-SU-2025:14876-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-rack-2.2x86_64 | Advisory build | 2.2.13-1.1 | OPENSUSE-SU-2025:14876-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-rack-2.2aarch64 | Advisory build | 2.2.22-1.1 | OPENSUSE-SU-2026:10286-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-rack-2.2ppc64le | Advisory build | 2.2.22-1.1 | OPENSUSE-SU-2026:10286-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-rack-2.2s390x | Advisory build | 2.2.22-1.1 | OPENSUSE-SU-2026:10286-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-rack-2.2x86_64 | Advisory build | 2.2.22-1.1 | OPENSUSE-SU-2026:10286-1 |
| Ubuntu | focal | ruby-rack | Advisory build | 2.0.7-2ubuntu0.1+esm6 | USN-7366-1 |
| Ubuntu | jammy | ruby-rack | Advisory build | 2.1.4-5ubuntu1.1+esm1 | USN-7366-1 |
| Ubuntu | noble | ruby-rack | Advisory build | 2.2.7-1ubuntu0.2 | USN-7366-1 |
| Ubuntu | plucky | ruby-rack | Advisory build | 2.2.7-1.1ubuntu0.25.04.2 | USN-7366-2 |
| Ubuntu | trusty | librack-ruby | Advisory build | 1.5.2-3+deb8u3ubuntu1~esm9 | USN-7366-1 |
| Ubuntu | trusty | librack-ruby1.8 | Advisory build | 1.5.2-3+deb8u3ubuntu1~esm9 | USN-7366-1 |
| Ubuntu | trusty | librack-ruby1.9.1 | Advisory build | 1.5.2-3+deb8u3ubuntu1~esm9 | USN-7366-1 |
| Ubuntu | trusty | ruby-rack | Advisory build | 1.5.2-3+deb8u3ubuntu1~esm9 | USN-7366-1 |
| Ubuntu | xenial | ruby-rack | Advisory build | 1.6.4-3ubuntu0.2+esm7 | USN-7366-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| rack | rack | < 2.2.13 (affected)>= 3.0, < 3.0.14 (affected)>= 3.1, < 3.1.12 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-23 CWE-23: Relative Path Traversal
References
3Provider assertions
3GitHub_M · cna
Local File Inclusion in Rack::Static
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ade4c9e2cbde324ca3a6dde69fe12f531a21b3f3395af38ff2ebbbf7403d46de
- Ingested
- 23 Sep 2026, 08:42:52 UTC
- Source record
- Official CVE record