Live threats

All CVEs / Rack

CVE-2025-27111Rack

Medium 6.9 No auth needed

Priority
56
CVSS 4.0
6.9
EPSS
—
Auth required
No
Published
Mar 4, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-93, CWE-117
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Rack.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems rack < 2.2.12 2.2.12 gem "rack", ">= 2.2.12"
RubyGems rack ≥ 3.0 < 3.0.13 3.0.13 gem "rack", ">= 3.0.13"
RubyGems rack ≥ 3.1 < 3.1.11 3.1.11 gem "rack", ">= 3.1.11"

Per OSV / GitHub Advisories (GHSA-8cgq-6mh2-7j6v). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
rackrack< 2.2.12
rackrack≥ 3.0.0 < 3.0.13
rackrack≥ 3.1.0 < 3.1.11

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.