CVE-2026-125110: Rack::Static header_rules bypass via dot-segment normalization mismatch
Affects rackSource GCVE Database
Not known to be exploited · CVSS 5.3 Medium : upgrade to 2.2.25 when convenient.
Data as of 10 Nov 2026, 19:06 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 5.3 |
|---|
- Patch
- Available – fixed in 2.2.25, 3.1.23, 3.2.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 9 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 10 Nov 2026.
What to do
Upgrade rack to 2.2.25; rack to 3.1.23; rack to 3.2.8.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| RubyGemsrack | Affected
| Fixed in
|
| RubyGemsrack | Affected
| Fixed in
|
| RubyGemsrack | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Update to a patched version of Rack where header_rules are matched against the same normalized path used to serve files (versions 2.2.25, 3.1.23, or 3.2.8 and later). Alternatively, reject requests containing dot segments at a reverse proxy or application boundary. Avoid relying solely on Rack::Static header_rules to prevent inline rendering of untrusted uploads; serve such files from a separate origin.
Description
A path normalization mismatch in Rack::Static header_rules allows bypassing security headers for protected static files. Requests with dot segments can access files without the intended security headers applied, potentially exposing files without Content-Disposition or restrictive Content-Security-Policy headers.
References
- github.com/rack/rack/security/advisories/GHSA-wvg4-6p58-3gh3 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-125110 (opens in a new tab)
- github.com/rack/rack/commit/18a07fe553afb4d8a678d6a948cd6ba1e11e28be (opens in a new tab)
- github.com/rack/rack/commit/9d7f19484ffd5ed5e032678c26ee6eff96d3a0a3 (opens in a new tab)
- github.com/rack/rack/commit/e88097ccb88be44d06d47b42daffe04929516ee4 (opens in a new tab)
- github.com/rack/rack (opens in a new tab)
- github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/GHSA-wvg4-6p58-3gh3.yml (opens in a new tab)