CVE-2026-125110
published medium CVSS 3.1 · 5.3Rack: Rack::Static header_rules bypass via dot-segment normalization mismatch
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| rack | — | rack< 2.2.25 · >= 3.0, < 3.1.23 · >= 3.2, < 3.2.8 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-rack-2.2aarch64 | Advisory build | 2.2.25-1.1 | OPENSUSE-SU-2026:12678-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-rack-2.2ppc64le | Advisory build | 2.2.25-1.1 | OPENSUSE-SU-2026:12678-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-rack-2.2s390x | Advisory build | 2.2.25-1.1 | OPENSUSE-SU-2026:12678-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-rack-2.2x86_64 | Advisory build | 2.2.25-1.1 | OPENSUSE-SU-2026:12678-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| rack | rack | < 2.2.25 (affected)>= 3.0, < 3.1.23 (affected)>= 3.2, < 3.2.8 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-180 CWE-180: Incorrect Behavior Order: Validate Before Canonicalize
References
4Provider assertions
2GitHub_M · cna
Rack: Rack::Static header_rules bypass via dot-segment normalization mismatch
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fa0c7e043be833364da27e78600186fff9c069c08bbeafc9c96b1f28865c202e
- Ingested
- 14 Nov 2026, 02:29:39 UTC
- Source record
- Official CVE record