Information Disclosure in Rack's Sendfile Feature on Ruby Web Server Interfaces
CVE-2025-61780
What is CVE-2025-61780?
An information disclosure vulnerability exists in Rack's Sendfile feature, affecting applications that use this middleware behind a proxy like Nginx. When misconfigured, specially crafted headers can trick Rack::Sendfile into executing unintended internal requests, thereby bypassing crucial proxy-level access restrictions. This occurs when the proxy misinterprets untrusted 'x-sendfile-type' or 'x-accel-mapping' headers, possibly exposing sensitive application routes and admin pages. Users are advised to upgrade Rack to versions 2.2.20, 3.1.18, or 3.2.3 and to ensure appropriate configuration of proxy headers to mitigate this risk.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
rack < 2.2.20 < 2.2.20
rack >= 3.0, < 3.1.18 < 3.0, 3.1.18
rack >= 3.2, < 3.2.3 < 3.2, 3.2.3
References
CVSS V3.1
Timeline
Vulnerability published
Vulnerability Reserved
