Path normalization flaw in Rack::Static bypasses header rules
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · 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.
Summary
Rack versions before 2.2.25, from 3.0 before 3.1.23, and from 3.2 before 3.2.8 are affected. Rack::Static evaluates header_rules against a URL-decoded path but serves the normalized file, an ordering flaw (CWE-180). An unauthenticated remote attacker can request a known file through raw or percent-encoded dot segments and receive it without path-specific headers such as Content-Security-Policy. Only applications using path-specific header_rules are affected.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
Description from the CNA
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.
Why it matters now
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| rack | rack | before 2.2.25; 3.0 to before 3.1.23; 3.2 to before 3.2.8 | 2.2.25, 3.1.23, 3.2.8 | Patch available | CNA |
| — | rack (RubyGems) | before 2.2.25 | 2.2.25 | Patch available | GHSA-wvg4-6p58-3gh3 |
| — | rack (RubyGems) | 3.0.0 to before 3.1.23 | 3.1.23 | Patch available | GHSA-wvg4-6p58-3gh3 |
| — | rack (RubyGems) | 3.2.0 to before 3.2.8 | 3.2.8 | Patch available | GHSA-wvg4-6p58-3gh3 |
- rack Vendorrack Affected before 2.2.25; 3.0 to before 3.1.23; 3.2 to before 3.2.8 Fixed in 2.2.25, 3.1.23, 3.2.8 Patch available CNA
- rack (RubyGems) Vendor— Affected before 2.2.25 Fixed in 2.2.25 Patch available GHSA-wvg4-6p58-3gh3
- rack (RubyGems) Vendor— Affected 3.0.0 to before 3.1.23 Fixed in 3.1.23 Patch available GHSA-wvg4-6p58-3gh3
- rack (RubyGems) Vendor— Affected 3.2.0 to before 3.2.8 Fixed in 3.2.8 Patch available GHSA-wvg4-6p58-3gh3
Remediation
Upgrade Rack to 2.2.25, 3.1.23 or 3.2.8, matching the release line in use. Red Hat lists no fix available for Red Hat 3scale API Management Platform 2 and Red Hat Enterprise Linux 7, 8, 9 and 10, and no fix planned for Red Hat OpenStack Platform 13 (Queens), 16.2 and 17.1.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
- Fix · CNA rack (rack) Fixed in 2.2.25, 3.1.23, 3.2.8
- Fix · GHSA-wvg4-6p58-3gh3 rack (RubyGems) Fixed in 2.2.25 Advisory →
- Fix · GHSA-wvg4-6p58-3gh3 rack (RubyGems) Fixed in 3.1.23 Advisory →
- Fix · GHSA-wvg4-6p58-3gh3 rack (RubyGems) Fixed in 3.2.8 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat 3scale API Management Platform 2 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 7 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat OpenStack Platform 13 (Queens) | Affected | No fix planned: Out of support scope |
| Red Hat OpenStack Platform 16.2 | Affected | No fix planned: Out of support scope |
| Red Hat OpenStack Platform 17.1 | Affected | No fix planned: Out of support scope |
Timeline
- 2026-11-09 Threatist record created from CVE-2026-125110
- 2026-11-10 Alias added: GHSA-wvg4-6p58-3gh3
- 2026-11-10 Fix available: RubyGems/[email protected], RubyGems/[email protected], RubyGems/[email protected] · GHSA-wvg4-6p58-3gh3
- 2026-11-10 CVSS score added · GHSA-wvg4-6p58-3gh3
- 2026-11-10 Weakness changed · GHSA-wvg4-6p58-3gh3
- 2026-11-10 7 new references · GHSA-wvg4-6p58-3gh3
- 2026-11-11 Affected versions changed · Red Hat
- 2026-11-11 CVSS score added · Red Hat
- 2026-11-14 CISA SSVC decision points changed
References
Other 6
- https://github.com/rack/rack/security/advisories/GHSA-wvg4-6p58-3gh3
- https://github.com/rack/rack/commit/18a07fe553afb4d8a678d6a948cd6ba1e11e28be
- https://github.com/rack/rack/commit/9d7f19484ffd5ed5e032678c26ee6eff96d3a0a3
- https://github.com/rack/rack/commit/e88097ccb88be44d06d47b42daffe04929516ee4
- https://github.com/rack/rack
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/GHSA-wvg4-6p58-3gh3.yml
More rack vulnerabilities
- TI-2024-23301 rack-contrib vulnerable to Denial of Service due to the unconstrained value of the incoming "profiler_runs" parameter CVSS 3.1HIGH 8.6
- TI-2024-16580 Rack ReDos in content type parsing (2nd degree polynomial) CVSS 3.1HIGH 7.5
- TI-2026-28312 Rack::Session::Cookie secrets: decrypt failure fallback enables secretless session forgery and Marshal deserialization CVSS 4.0CRITICAL 9.3
- 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
Sources
- CVE-2026-125110 · CVE Program
- CVE-2026-125110 · NVD
- FIRST EPSS
- GHSA-wvg4-6p58-3gh3 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-125110 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences