CVE-2025-27111

MEDIUM CVSS 4.0: 6.9 EPSS 0.75%
Updated Nov 03, 2025
Rack
Parameter Value
CVSS 6.9 (MEDIUM)
Affected Versions 3.0.0 — 3.1.11
Fixed In 2.2.12
Type CWE-93, CWE-117
Vendor Rack
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 3

Configuration From (including) Up to (excluding)
Rack Rack
cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:*
— 2.2.12
Rack Rack
cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:*
3.0.0 3.0.13
Rack Rack
cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:*
3.1.0 3.1.11