ADVISORIES

Vulnerability

CVE-2025-27111

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.

26 advisories report this vulnerability, across 10 ecosystems.

Advisories

  • ALAS2-2025-2822

    Amazon Linux 2 2017.12 - ALAS2-2025-2822: medium priority package update for pcs

    Medium CVE-2025-27111 Amazon Linux Updated 16 April 2025
  • CGA-2vpr-2crp-vv58
    CVE-2025-27111 ChainguardWolfi Updated 5 November 2026
  • CGA-399j-wx66-h65g
    CVE-2025-27111 ChainguardWolfi Updated 5 November 2026
  • CGA-5cq5-gmhg-c47w
    CVE-2025-27111 ChainguardWolfi Updated 5 November 2026
  • CGA-fxvp-jr3r-h4jf
    CVE-2025-27111 ChainguardWolfi Updated 5 November 2026
  • CGA-hvpq-v9f9-6m7p
    CVE-2025-27111 ChainguardWolfi Updated 5 November 2026
  • CGA-jmjr-v959-2qjf
    CVE-2025-27111 ChainguardWolfi Updated 5 November 2026
  • CGA-prqv-r367-fcfq
    CVE-2025-27111 ChainguardWolfi Updated 5 November 2026
  • CGA-x43j-gjqw-gwgf
    CVE-2025-27111 ChainguardWolfi Updated 5 November 2026
  • CGA-xm7p-8295-hmw9
    CVE-2025-27111 ChainguardWolfi Updated 5 November 2026
  • CGA-xxvj-9ww5-33vw
    CVE-2025-27111 ChainguardWolfi Updated 5 November 2026
  • DEBIAN-CVE-2025-27111

    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…

    CVE-2025-27111 Debian Updated 1 September 2026
  • DLA-4090-1

    ruby-rack - security update

    CVE-2025-25184CVE-2025-27111CVE-2025-27610 Debian Updated 20 November 2026
  • DSA-5886-1

    ruby-rack - security update

    CVE-2025-25184CVE-2025-27111CVE-2025-27610 Debian Updated 20 November 2026
  • GHSA-8cgq-6mh2-7j6v

    Escape Sequence Injection vulnerability in Rack lead to Possible Log Injection

    Moderate CVE-2025-27111 RubyGems Updated 10 September 2026
  • OESA-2025-1299

    rubygem-rack security update

    High CVE-2025-25184CVE-2025-27111CVE-2025-27610 openEuler Updated 18 August 2026
  • RHVEX-CVE-2025-27111

    rack: rubygem-rack: Escape Sequence Injection vulnerability in Rack lead to Possible Log Injection

    Moderate CVE-2025-27111 Red Hat Updated 24 November 2026
  • SUSE-SU-2025:0874-1

    Security update for rubygem-rack

    CVE-2025-25184CVE-2025-27111CVE-2025-27610 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2025:1492-1

    Security update for rubygem-rack-1_6

    CVE-2025-27111 openSUSE Updated 23 March 2026
  • UBUNTU-CVE-2025-27111

    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…

    CVE-2025-27111 Ubuntu Updated 20 May 2026
  • USN-7366-1

    ruby-rack vulnerabilities

    CVE-2025-25184CVE-2025-27111CVE-2025-27610 Ubuntu Updated 25 June 2026
  • USN-7366-2

    ruby-rack vulnerabilities

    CVE-2025-25184CVE-2025-27111CVE-2025-27610 Ubuntu Updated 4 February 2026
  • openSUSE-SU-2025:14859-1

    ruby3.4-rubygem-rack-2.2-2.2.12-1.1 on GA media

    CVE-2025-27111 openSUSE Updated 4 February 2026
  • openSUSE-SU-2025:14875-1

    ruby3.4-rubygem-rack-3.1.12-1.1 on GA media

    CVE-2013-0262CVE-2013-0263CVE-2015-3225CVE-2018-16471 openSUSE Updated 7 May 2025
  • openSUSE-SU-2026:10286-1

    ruby4.0-rubygem-rack-2.2-2.2.22-1.1 on GA media

    CVE-2013-0262CVE-2013-0263CVE-2015-3225CVE-2018-16471 openSUSE Updated 23 March 2026
  • openSUSE-SU-2026:10358-1

    ruby4.0-rubygem-rack-3.1.18-1.3 on GA media

    CVE-2013-0262CVE-2013-0263CVE-2015-3225CVE-2018-16471 openSUSE Updated 14 March 2026

References