Path Traversal in Rack Web Application

Patch this weekSensitive data exposure over the network, no login needed.
7.5HIGH

CVE-2025-27610

Key Information:

Vendor

Rack

Status
Rack
CVE ID
CVE ID:
CVE-2025-27610
Vendor
CVE Published:
10 March 2025
Fixed in
Fixed in:
2.2.13, 3.0, 3.0.14, 3.1, 3.1.12

Timeline

Exploit known 46 days after it was published

  • ๐Ÿ‘พ

    Exploit known to exist

  • ๐Ÿ“ฐ

    First article discovered by Cybernews

  • Vulnerability published

  • Vulnerability Reserved

Badges

๐Ÿ“ˆ Score: 860๐Ÿ‘พ Exploit Exists๐Ÿ“ฐ News Worthy

How risky is it?

  • Yes: Works over the network, no login needed
  • Partly: Exploitation or a working exploit reported
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Patch this week

Exploitation is likely. Prioritise the fix.

What to do

1Update to a fixed version
rack < 2.2.13 to below 2.2.13 is vulnerable
rack >= 3.0, < 3.0.14 to below 3.0, 3.0.14 is vulnerable
rack >= 3.1, < 3.1.12 to below 3.1, 3.1.12 is vulnerable

Install the rack release that fixes your version line, or later:

2.2.133.0, 3.0.143.1, 3.1.12
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach rack. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Look for signs of compromise

Exploitation has been reported, so check logs on exposed rack systems for unusual requests or new processes from before you patched.

4Why it's rated "Patch this week"
  • Exploitation or a working exploit has been reported.
  • It can be exploited remotely without credentials.
  • Its CVSS severity is high (7.5).

What is CVE-2025-27610?

CVE-2025-27610 is a path traversal vulnerability in the Rack web application interface, specifically in the Rack::Static middleware used for serving static files in Ruby applications. The flaw arises from improper sanitization of user-supplied paths, allowing attackers to exploit encoded path traversal sequences. If an attacker can determine the path of a file, they can access files outside the designated static file directory, potentially exposing sensitive information such as configuration files and credentials.

Versions 2.2.13, 3.0.14, and 3.1.12 of Rack contain patches for this vulnerability. The issue is exacerbated when the :root parameter is not explicitly set, defaulting to the current working directory, which may lead to unintended file exposure.

Potential Impact of CVE-2025-27610

  1. Unauthorized file access: Attackers can access sensitive files outside the intended directory, which may include configuration data and credentials.

  2. Data breaches: Exploiting this vulnerability can lead to severe data breaches, depending on the contents of the accessed files.

News Articles

Rack Ruby Framework vulnerabilities Let Attackers inject and manipulate log content

Researchers Thai Do and Minh Pham have exposed multiple critical vulnerabilities in the Rack Ruby framework, a cornerstone of Ruby-based web applications.

favicon imageHelp Net Security

Rack Ruby vulnerability could reveal secrets to attackers (CVE-2025-27610) - Help Net Security

Researchers found vulnerabilities in the Rack Ruby interface, including CVE-2025-27610, potentially leading to disclosure of sensitive info.

favicon imageThe Hacker News

Researchers Identify Rack::Static Vulnerability Enabling Data Breaches in Ruby Servers

CVE-2025-27610 allows unauthenticated access to sensitive files in Rack Ruby apps due to root misconfig.

References

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities ยท Report a correction

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged
.