Vulnerability
CVE-2025-27610
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.
62 advisories report this vulnerability, across 9 ecosystems.
Advisories
- CGA-253q-vfrp-v8v7
- CGA-45hj-6pjf-56xc
- CGA-4766-5vr7-c3p2
- CGA-4gh6-3425-x3r5
- CGA-5gjx-4r4c-pcmv
- CGA-5h8q-55q4-f3pc
- CGA-5r67-9wqg-3hmf
- CGA-6g4j-qg4c-rvxp
- CGA-6mff-xg5w-w27r
- CGA-734j-5fgv-5mr7
- CGA-786r-rx4q-r9xx
- CGA-7fv3-r75g-p2c4
- CGA-7wjw-7whg-5v5p
- CGA-859v-qgv3-8h95
- CGA-889q-gv58-8rwf
- CGA-8mfg-wv53-gp67
- CGA-996q-2x24-xp8f
- CGA-9fc4-5cq2-fmcx
- CGA-c3pm-m4wf-x23p
- CGA-ccf3-9qp8-c93c
- CGA-f4vh-crjw-7hgq
- CGA-f9jm-9cxv-6m6h
- CGA-g4f7-788v-4p6q
- CGA-g65w-4794-397p
- CGA-g9mg-623j-9xpj
- CGA-gccf-p8qw-f4cc
- CGA-h3v5-7jxx-4w7j
- CGA-h8w7-7wx4-7j3q
- CGA-hf7p-887r-7r22
- CGA-hphq-3hxv-573x
- CGA-jj89-7vmq-8vg7
- CGA-m88c-q9pp-79wj
- CGA-mg6v-gxrv-cpvp
- CGA-mgwj-6hvv-5f6c
- CGA-p645-7f79-86gj
- CGA-pjcw-3673-hgcq
- CGA-px29-pj6v-6m87
- CGA-px5c-wxpc-j46g
- CGA-q6mv-2x2f-2q39
- CGA-qjfj-mg4p-7mw3
- CGA-vf2w-v2xq-7g39
- CGA-vmvq-4223-37p8
- CGA-vr4j-5xg7-8wjj
- CGA-xgp9-742f-vvm5
- CGA-xgw3-h439-j5mx
- CGA-xr7h-3pwj-w5cq
-
DEBIAN-CVE-2025-27610
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…
-
DLA-4090-1
ruby-rack - security update
-
DSA-5886-1
ruby-rack - security update
-
GHSA-7wqh-767x-r66v
Local File Inclusion in Rack::Static
-
OESA-2025-1299
rubygem-rack security update
-
RHSA-2025:3490
Red Hat Security Advisory: Satellite 6.16.4 Async Update
-
RHSA-2025:3491
Red Hat Security Advisory: Satellite 6.15.5.2 Async Update
-
RHSA-2025:3492
Red Hat Security Advisory: Satellite 6.14.4.5 Async Update
-
RHSA-2025:4576
Red Hat Security Advisory: Satellite 6.17.0 release
-
SUSE-SU-2025:0858-1
Security update for rubygem-rack-1_6
-
SUSE-SU-2025:0874-1
Security update for rubygem-rack
-
UBUNTU-CVE-2025-27610
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…
-
USN-7366-1
ruby-rack vulnerabilities
-
USN-7366-2
ruby-rack vulnerabilities
-
openSUSE-SU-2025:14876-1
ruby3.4-rubygem-rack-2.2-2.2.13-1.1 on GA media
-
openSUSE-SU-2026:10286-1
ruby4.0-rubygem-rack-2.2-2.2.22-1.1 on GA media