Skip to content
CVE PROGRAM SOURCE RECORD6.9 Medium

CVE-2025-27111

Escape Sequence Injection vulnerability in Rack lead to Possible Log Injection

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

rack rack

  • < 2.2.12affected
  • >= 3.0, < 3.0.13affected
  • >= 3.1, < 3.1.11affected

References