1. Home
  2. Vulnerabilities
  3. CVE-2025-27111

CVE-2025-27111

Rack is a modular Ruby web server interface. The Rack::Sendfile middleware logs unsanitised header values…

Published 4 Mar 2025 · modified 17 Jun 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Medium 47/100

Summary

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 and versions

Rack (3 line(s))
Rack
ProductVersionsFixed inSource
Rack before 2.2.12 (excluded) — NVD
Rack from 3.0.0 (included) to 3.0.13 (excluded) — NVD
Rack from 3.1.0 (included) to 3.1.11 (excluded) — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
NVD
CVSS score
NVD
Weakness (CWE)
CNA (vendor or assigner)
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N (CVSS 3.1, NVD)
Weakness
CWE-93 · Autre (CWE-93)

How this data is obtained and calculated