Path Traversal in Rack Web Application
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
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
Install the rack release that fixes your version line, or later:
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
-
Unauthorized file access: Attackers can access sensitive files outside the intended directory, which may include configuration data and credentials.
-
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.
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.
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
