GHSA-7wqh-767x-r66v · Severity: high · Ecosystem: rubygems — Local File Inclusion in Rack::Static
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.
Conclusion & alert: CVE-2025-27610 is rated Moderate Risk (50.8/100): CVSS High severity, with medium exploitation likelihood (EPSS 1.07%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 1.35% | 1.07% | -0.29% |
| 2 | 2026-06-02 | 1.85% | 1.35% | -0.50% |
| 3 | 2026-05-29 | — | 1.85% | — |
Full EPSS history (17 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
GHSA-7wqh-767x-r66v · Severity: high · Ecosystem: rubygems — Local File Inclusion in Rack::Static
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2025-27610 not yet assigned priority: Debian including 1 source packages (ruby-rack), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2025-27610 |
redhat
|
high | — | https://access.redhat.com/security/cve/CVE-2025-27610 |
suse
|
high | — | https://www.suse.com/security/cve/CVE-2025-27610/ |
ubuntu
|
medium | CVE-2025-27610 medium priority: Ubuntu including 1 source packages (ruby-rack), 10 status rows across 10 suites (bionic, focal, jammy, noble, oracular, plucky, questing, trusty, upstream, xenial): released 10. | https://ubuntu.com/security/CVE-2025-27610 |