7.5

CVE-2025-27610: Local File Inclusion in Rack::Static

Modified
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 68.5% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
1.17%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware 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

69%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.17% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

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