Read the docs
TI-2025-38173 Aliases CVE-2025-61780GHSA-r657-rxjc-j557

Rack has Possible Information Disclosure Vulnerability

Priority LOW 33CWE-200Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
Low · None · None
Fix status
Partial Red Hat: 8 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-200.

Summary

Rack is a modular Ruby web server interface. Prior to versions 2.2.20, 3.1.18, and 3.2.3, a possible information disclosure vulnerability existed in `Rack::Sendfile` when running behind a proxy that supports `x-sendfile` headers (such as Nginx). Specially crafted headers could cause `Rack::Sendfile` to miscommunicate with the proxy and trigger unintended internal requests, potentially bypassing proxy-level access restrictions. When `Rack::Sendfile` received untrusted `x-sendfile-type` or `x-accel-mapping` headers from a client, it would interpret them as proxy configuration directives. This could cause the middleware to send a "redirect" response to the proxy, prompting it to reissue a new internal request that was not subject to the proxy's access controls. An attacker could exploit this by setting a crafted `x-sendfile-type: x-accel-redirect` header, setting a crafted `x-accel-mapping` header, and requesting a path that qualifies for proxy-based acceleration. Attackers could bypass proxy-enforced restrictions and access internal endpoints intended to be protected (such as administrative pages). The vulnerability did not allow arbitrary file reads but could expose sensitive application routes. This issue only affected systems meeting all of the following conditions: The application used `Rack::Sendfile` with a proxy that supports `x-accel-redirect` (e.g., Nginx); the proxy did **not** always set or remove the `x-sendfile-type` and `x-accel-mapping` headers; and the application exposed an endpoint that returned a body responding to `.to_path`. Users should upgrade to Rack versions 2.2.20, 3.1.18, or 3.2.3, which require explicit configuration to enable `x-accel-redirect`. Alternatively, configure the proxy to always set or strip the header, or in Rails applications, disable sendfile completely.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00553 46th percentileScored 2026-11-07
Fix Partial rack (rack): 2.2.20, 3.1.18, 3.2.3rack (RubyGems): 2.2.20, 3.1.18, 3.2.3Red Hat: 8 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
rackrackbefore 2.2.20; 3.0 to before 3.1.18; 3.2 to before 3.2.32.2.20, 3.1.18, 3.2.3Patch availableCNA
—rack (RubyGems)before 2.2.202.2.20Patch availableGHSA-r657-rxjc-j557
—rack (RubyGems)3.0 to before 3.1.183.1.18Patch availableGHSA-r657-rxjc-j557
—rack (RubyGems)3.2 to before 3.2.33.2.3Patch availableGHSA-r657-rxjc-j557
  • rack Vendorrack Affected before 2.2.20; 3.0 to before 3.1.18; 3.2 to before 3.2.3 Fixed in 2.2.20, 3.1.18, 3.2.3 Patch available CNA
  • rack (RubyGems) Vendor— Affected before 2.2.20 Fixed in 2.2.20 Patch available GHSA-r657-rxjc-j557
  • rack (RubyGems) Vendor— Affected 3.0 to before 3.1.18 Fixed in 3.1.18 Patch available GHSA-r657-rxjc-j557
  • rack (RubyGems) Vendor— Affected 3.2 to before 3.2.3 Fixed in 3.2.3 Patch available GHSA-r657-rxjc-j557

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:*before 2.2.20; 3.0.0 to before 3.1.18; 3.2.0 to before 3.2.3Vulnerablerack
  • cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:* Versions before 2.2.20; 3.0.0 to before 3.1.18; 3.2.0 to before 3.2.3 Vulnerable ·rack

Remediation

  • Fix · CNA rack (rack) Fixed in 2.2.20, 3.1.18, 3.2.3
  • Fix · GHSA-r657-rxjc-j557 rack (RubyGems) Fixed in 2.2.20 Advisory →
  • Fix · GHSA-r657-rxjc-j557 rack (RubyGems) Fixed in 3.1.18 Advisory →
  • Fix · GHSA-r657-rxjc-j557 rack (RubyGems) Fixed in 3.2.3 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
OpenShift Service Mesh 2AffectedNo fix yet: Fix deferred
Red Hat 3scale API Management Platform 2AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 10AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 7AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 8AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 9AffectedNo fix yet: Fix deferred
Red Hat OpenStack Platform 13 (Queens)AffectedNo fix planned: Out of support scope
Red Hat Satellite 6AffectedNo fix yet: Fix deferred
Not affected: 7 products
  • Logging Subsystem for Red Hat OpenShift
  • Red Hat Enterprise Linux 10
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat OpenShift Container Platform 4

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-61780
  2. 2026-10-03 Alias added: GHSA-r657-rxjc-j557

References

  • TI-2024-16580 Rack ReDos in content type parsing (2nd degree polynomial) CVSS 3.1HIGH 7.5
  • TI-2024-17236 Possible Denial of Service Vulnerability in Rack Header Parsing CVSS 3.1HIGH 7.5
  • TI-2024-17231 Possible DoS Vulnerability with Range Header in Rack CVSS 3.1HIGH 7.5
  • TI-2023-12254 Uncontrolled resource consumption in https://github.com/rack/rack CVSS 3.1HIGH 7.5
  • TI-2025-38165 Rack's multipart parser buffers unbounded per-part headers, enabling DoS (memory exhaustion) CVSS 3.1HIGH 7.5
  • TI-2025-38163 Rack's unbounded multipart preamble buffering enables DoS (memory exhaustion) CVSS 3.1HIGH 7.5
See all 36 →

Sources