CVE Catalog

CVE-2025-27111

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
0.75%

56th percentile - higher than 56% of all known CVEs

Summary

Rack, a modular Ruby web server interface, logs unsanitised header values from the X-Sendfile-Type header in the Rack::Sendfile middleware. An attacker can inject escape sequences (e.g., newline characters) into the header, causing log injection. This is fixed in 2.2.12, 3.0.13, and 3.1.11.

Risk Assessment

Injecting data into logs can falsify audit records and hinder incident detection, and in some configurations enable further attacks.

Recommendation

Update Rack to version 2.2.12, 3.0.13, or 3.1.11 (or later) and consider sanitizing headers in logs.

Other vulnerabilities in Rack

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS