High severity · published Mar 4, 2025
CVE-2025-27111
Rack is a modular Ruby web server interface
7.5
CVSS
0.8%
EPSS
No
On KEV
Description
Rack is a modular Ruby web server interface. The Rack::Sendfile middleware logs unsanitised header values from the X-Sendfile-Type header. An attacker can exploit this by injecting escape sequences (such as newline characters) into the header, resulting in log injection. This vulnerability is fixed in 2.2.12, 3.0.13, and 3.1.11.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.8% · higher than 55% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RA
Rack · Rack
before 2.2.12; 3.0.0 before 3.0.13; 3.1.0 before 3.1.11 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-27111
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-27111
Patch
https://github.com/rack/rack/commit/803aa221e8302719715e224f4476e438f2531a53
Patch
https://github.com/rack/rack/commit/aeac570bb8080ca7b53b7f2e2f67498be7ebd30b
Patch
https://github.com/rack/rack/commit/b13bc6bfc7506aca3478dc5ac1c2ec6fc53f82a3
Mitigation
https://github.com/rack/rack/security/advisories/GHSA-8cgq-6mh2-7j6v
lists.debian.org
https://lists.debian.org/debian-lts-announce/2025/03/msg00016.html
More from Rack
7.5
CVE-2026-34827
Rack: Algorithmic-Complexity DoS in Rack::Multipart::Parser
7.5
CVE-2026-34830
Rack: Rack::Sendfile regex injection via HTTP_X_ACCEL_MAPPING header allows arbitrary file reads through nginx
7.5
CVE-2026-34829
Rack: Denial of Service via Unbounded Multipart File Upload Without Content-Length
7.5
CVE-2026-34826
Rack: Unbounded Range Count in get_byte_ranges Enables DoS
7.5
CVE-2026-34785
Rack: Local file inclusion in `Rack::Static` via URL Prefix Matching
