CVE Catalog

CVE-2026-125110

MediumCVSS 5.3
Published: Translated: NVD NIST

Summary

Rack is a modular Ruby web server interface. Prior to 2.2.25, 3.1.23, and 3.2.8, Rack::Static serves a path after Utils.clean_path_info normalization but evaluates header_rules against a path that is only URL-decoded. An unauthenticated attacker can request a known file through raw or percent-encoded dot segments and receive it without path-specific security headers such as Content-Disposition or Content-Security-Policy.

Risk Assessment

An attacker can retrieve files without headers such as Content-Disposition or Content-Security-Policy, potentially facilitating data leakage or client-side attacks.

Recommendation

Upgrade Rack to version 2.2.25, 3.1.23, or 3.2.8 (or later). Applications not using path-specific header_rules are not affected.

Other vulnerabilities in Rack

See all
Original NVD description (English source)

Rack is a modular Ruby web server interface. Prior to 2.2.25, 3.1.23, and 3.2.8, Rack::Static serves a path after Utils.clean_path_info normalization but evaluates header_rules against a path that is only URL-decoded. An unauthenticated attacker can request a known file through raw or percent-encoded dot segments and receive it without path-specific security headers such as Content-Disposition or Content-Security-Policy. Applications that do not use path-specific header_rules are not affected. This issue is fixed in versions 2.2.25, 3.1.23, and 3.2.8.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS