CVE-2025-27610: rack Relative Path Traversal
Vulnerability summary
CVE-2025-27610 is a high (CVSS 7.5) Relative Path Traversal vulnerability in rack. EPSS estimates a 1.17% chance of exploitation in the next 30 days, higher than 67% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 12 · Related 18Timeline
- 10-03-2025PublishedVulnerability first disclosed.
- 03-11-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · RubygemsEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
1.17%
Chance of exploitation in the next 30 days
Percentile
67%
Versus all other CVEs
30-day change
+0.02 pp
From 1.15% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard23 products
- kube-fluentd-operator< 1.18.2-r31
- kube-fluentd-operator-compat< 1.18.2-r31
- kube-fluentd-operator-default-config< 1.18.2-r31
- kube-fluentd-operator-oci-entrypoint< 1.18.2-r31
- logstash-8-with-output-opensearch< 8.17.3-r2
Wolfi9 products
- kube-fluentd-operator< 1.18.2-r31
- kube-fluentd-operator-compat< 1.18.2-r31
- kube-fluentd-operator-default-config< 1.18.2-r31
- kube-fluentd-operator-oci-entrypoint< 1.18.2-r31
- logstash-8-with-output-opensearch< 8.17.3-r2
Debian1 product
- ruby-rack< 2.2.13-1~deb12u1 | < 3.1.12-1
Opensuse1 product
- rubygem-rack-2.2&distro=openSUSE Tumbleweed< 2.2.13-1.1
Rack1 product
- rack≥ 3.0, < 3.0.14 | ≥ 3.1, < 3.1.12 | < 2.2.13 | ≥ 3.0.0, < 3.0.14 | ≥ 3.1.0, < 3.1.12
RubyGems1 product
- rack< 2.2.13 | ≥ 3.0, < 3.0.14 | ≥ 3.1, < 3.1.12
Ubuntu1 product
- ruby-rack< 1.5.2-3+deb8u3ubuntu1~esm9 | < 1.6.4-3ubuntu0.2+esm7 | < 1.6.4-4ubuntu0.2+esm7 | < 2.0.7-2ubuntu0.1+esm6 | < 2.1.4-5ubuntu1.1+esm1 | < 2.2.7-1ubuntu0.2 | < 3.1.16-0.1
7 vendors · 37 products
References
13 links- github.com/rack/rack/security/advisories/GHSA-7wqh-767x-r66vX Refsource CONFIRMREPORTAdvisoryWEBMitigationVendor Advisory
Show all 13 references
- github.com/rack/rackPACKAGE