cve.bz

CVE-2025-27111

6.9 mediumEPSS 0.8%

Medium (6.9) in rack rack. EPSS 0.8% chance of exploitation in the next 30 days. Fixed in rack 2.2.12, 3.0.13, 3.1.11.

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.

Severity

CVSS 4.0

6.9 medium
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

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
0.8% chance of exploitation in the next 30 days; higher than 54% of CVEs (scores of 2026-10-31)
CWEs
CWE-93, CWE-117
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-8cgq-6mh2-7j6vRubyGemsrack<2.2.122.2.12
GHSA-8cgq-6mh2-7j6vRubyGemsrack>=3.0 <3.0.133.0.13
GHSA-8cgq-6mh2-7j6vRubyGemsrack>=3.1 <3.1.113.1.11

References

Check your stackJSON