Skip to main content
VulnerabilityPublished Updated

CVE-2025-27111: Ruby rack · The Rack::Sendfile middleware logs unsanitised header values from the X-Sendfile-Type header

Affects ruby-rackSource GCVE Database

0
Compare
Authoritative record:CVE-2025-27111· Medium 6.9

Not known to be exploited · CVSS 6.9 Medium · fixed in 1.5.2-3+deb8u3ubuntu1~esm9 : update ruby-rack when convenient.

Data as of 24 Nov 2026, 19:55 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 4.06.9
Patch
Available – fixed in 1.5.2-3+deb8u3ubuntu1~esm9, 1.6.4-3ubuntu0.2+esm7, 1.6.4-4ubuntu0.2+esm7 +4
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Mar 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSruby-rackpkg:deb/ubuntu/ruby-rack?arch=source&distro=resoluteOther threatsAffected
  • <3.1.16-0.1
Fixed in
  • 3.1.16-0.1
Ubuntu 25.10ruby-rackpkg:deb/ubuntu/ruby-rack?arch=source&distro=questingOther threatsAffected
  • <3.1.16-0.1
Fixed in
  • 3.1.16-0.1
Ubuntu 24.04 LTSruby-rackpkg:deb/ubuntu/ruby-rack?arch=source&distro=nobleOther threatsAffected
  • <2.2.7-1ubuntu0.2
Fixed in
  • 2.2.7-1ubuntu0.2
Ubuntu Pro 22.04 LTSruby-rackpkg:deb/ubuntu/ruby-rack?arch=source&distro=esm-apps/jammyOther threatsAffected
  • 2.1.4-5ubuntu1+esm2 – 2.1.4-5ubuntu1+esm5
  • <2.1.4-5ubuntu1.1+esm1
4 affected builds
Fixed in
  • 2.1.4-5ubuntu1.1+esm1
Ubuntu Pro 20.04 LTSruby-rackpkg:deb/ubuntu/ruby-rack?arch=source&distro=esm-apps/focalOther threatsAffected
  • <2.0.7-2ubuntu0.1+esm6
Fixed in
  • 2.0.7-2ubuntu0.1+esm6
Ubuntu Pro 18.04 LTSruby-rackpkg:deb/ubuntu/ruby-rack?arch=source&distro=esm-apps/bionicOther threatsAffected
  • <1.6.4-4ubuntu0.2+esm7
Fixed in
  • 1.6.4-4ubuntu0.2+esm7

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…