CVE-2026-125110Rack: Rack::Static header_rules bypass via dot-segment normalization mismatch
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.
What to do
Fixed builds are available from Debian, RubyGems: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | ruby-rack | Fix pending | UBUNTU-CVE-2026-125110 | |
| Ubuntu 26.04 | ruby-rack | Under investigation | UBUNTU-CVE-2026-125110 | |
| Ubuntu 24.04 | ruby-rack | Under investigation | UBUNTU-CVE-2026-125110 | |
| Ubuntu 22.04 | ruby-rack | Fix pending | UBUNTU-CVE-2026-125110 | |
| Ubuntu 20.04 | ruby-rack | Fix pending | UBUNTU-CVE-2026-125110 | |
| Ubuntu 18.04 | ruby-rack | Fix pending | UBUNTU-CVE-2026-125110 | |
| Ubuntu 16.04 | ruby-rack | Fix pending | UBUNTU-CVE-2026-125110 | |
| Ubuntu 14.04 | ruby-rack | Fix pending | UBUNTU-CVE-2026-125110 | |
| Debian 14 | ruby-rack | Fixed | 3.2.8-1 | DEBIAN-CVE-2026-125110 |
| Debian 13 | ruby-rack | Fix pending | DEBIAN-CVE-2026-125110 | |
| Debian 12 | ruby-rack | Fix pending | DEBIAN-CVE-2026-125110 | |
| Red Hat Enterprise Linux 10 | cockpit-ha-cluster | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | pcs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | pcs-snmp | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | pcs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | pcs-snmp | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | pcs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | pcs-snmp | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | pcs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | pcs-snmp | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | python-clufter | Fix pending Fix deferred | ||
| RubyGems library | rack | Fixed | 3.1.23 | GHSA-wvg4-6p58-3gh3 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- rack: affected: < 2.2.25, >= 3.0, < 3.1.23, >= 3.2, < 3.2.8
References
- 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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.