Rack: Rack::Static header_rules bypass via dot-segment normalization mismatch
CVE-2026-125110Published 9 Nov 2026, 22:00 UTC
Real-world risk
2.6/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
5.3
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| rackCommon | < 2.2.25; >= 3.0, < 3.1.23; >= 3.2, < 3.2.8 | 2.2.25, 3.1.23, 3.2.8 |
What to do
Update to a fixed version: 2.2.25, 3.1.23, 3.2.8.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.3% chance of exploitation in 30 days (percentile 28), as of 2026-12-05.
The arithmetic
- Prerequisites multiplied together1.000
- Threat T1: Nothing known0.850
- 10 × impact 0.3 × prerequisites 1 × threat 0.852.550
- Rounded to one decimal between 0.1 and 102.6
Exploitation and evidence timeline
- 9 Nov 2026 Published
- 3 Dec 2026 Risk 2.6 (cvss fallback)
Weakness
CWE-180
References
- https://github.com/rack/rack/security/advisories/GHSA-wvg4-6p58-3gh3vendor-advisory
- https://github.com/rack/rack/commit/18a07fe553afb4d8a678d6a948cd6ba1e11e28bemisc
- https://github.com/rack/rack/commit/9d7f19484ffd5ed5e032678c26ee6eff96d3a0a3misc
- https://github.com/rack/rack/commit/e88097ccb88be44d06d47b42daffe04929516ee4misc
- CVE-2026-125110 on CVE.org