CVE-2025-27610
Last modified
CVE-2025-27610 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 1.07% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Rack | Rack | < 2.2.13 |
| Rack | Rack | >= 3.0.0, < 3.0.14 |
| Rack | Rack | >= 3.1.0, < 3.1.12 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-27610?
How severe is CVE-2025-27610?
How do I fix CVE-2025-27610?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-27604XWiki Confluence Migrator Pro helps admins to import conflue…7.5
- CVE-2025-27606Element Android is an Android Matrix Client provided by Elem…4.6
- CVE-2025-27607Python JSON Logger is a JSON Formatter for Python Logging. B…8.8
- CVE-2025-27608Arduino IDE 2.x is an IDE based on the Theia IDE framework a…1
- CVE-2025-27609Icinga Web 2 is an open source monitoring web interface, fra…5.4
- CVE-2025-2761GIMP FLI File Parsing Out-Of-Bounds Write Remote Code Execut…7.8
- CVE-2025-27611base-x is a base encoder and decoder of any given alphabet u…8.7
- CVE-2025-27612libcontainer is a library for container control. Prior to li…5.9
- CVE-2025-27613Gitk is a Tcl/Tk based Git history browser. Starting with 1.…3.6
- CVE-2025-27614Gitk is a Tcl/Tk based Git history browser. Starting with 2.…8.6
- CVE-2025-27615umatiGateway is software for connecting OPC Unified Architec…8.2
- CVE-2025-27616Vela is a Pipeline Automation (CI/CD) framework built on Lin…8.5
Are you affected by CVE-2025-27610?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
