7.5

CVE-2025-27610: rack Relative Path Traversal

CVSS: 7.5v3.1HighModified
AliasesUBUNTU-CVE-2025-27610DEBIAN-CVE-2025-27610CGA-253q-vfrp-v8v7
Published 10-03-2025Last modified 03-11-2025

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.

Overall risk
30/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
1.17%
0%100%
Low · +0.02 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 12 · Related 18

Timeline

  1. 10-03-2025
    PublishedVulnerability first disclosed.
  2. 03-11-2025
    Last 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

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

19-09-202619-10-2026
EPSS score
1.17%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected 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
Show all 13 references