CVE-2025-27111: rack · CRLF Injection
Affects rackSource GCVE Database
Not known to be exploited · CVSS 6.9 Medium · fixed in 3.1.11 : update rack when convenient.
Data as of 30 Oct 2026, 00:33 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 4.0 | 6.9 |
|---|
- Patch
- Available – fixed in 3.1.11, 3.0.13, 2.2.12
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 4 Mar 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade rack to 3.1.11, 3.0.13 or 2.2.12.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| rack rack | Affected
| Fixed in
|
AI-suggested
Upgrade Rack to version 2.2.12, 3.0.13, or 3.1.11 or later where this vulnerability is fixed. No other mitigation is indicated or required according to the available data.
Description
CVE-2025-27111 is a CRLF injection vulnerability in the Rack Ruby web server interface, specifically in the Rack::Sendfile middleware. It occurs because the middleware logs unsanitized values from the X-Sendfile-Type header, allowing an attacker to inject newline characters and other escape sequences. This can lead to log injection attacks. The issue is fixed in versions 2.2.12, 3.0.13, and 3.1.11 of Rack.
References
- github.com/rack/rack/security/advisories/GHSA-8cgq-6mh2-7j6v (opens in a new tab)
- github.com/rack/rack/commit/803aa221e8302719715e224f4476e438f2531a53 (opens in a new tab)
- github.com/rack/rack/commit/aeac570bb8080ca7b53b7f2e2f67498be7ebd30b (opens in a new tab)
- github.com/rack/rack/commit/b13bc6bfc7506aca3478dc5ac1c2ec6fc53f82a3 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00016.html (opens in a new tab)