PT-2026-29857 · Rack+2 · Rack+2
CVSS v3.1
6.5
Medium
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
Rack versions 3.0.0.beta1 through 3.1.21, and 3.2.0 through 3.2.6 are affected by an issue where the
Rack::Request component improperly parses the Host header, accepting characters not permitted in RFC-compliant hostnames such as /, ?, #, and @. This can lead to host header poisoning in applications that use req.host, req.url, or req.base url for link generation, redirects, or origin validation. The issue is due to the use of an overly permissive regular expression for parsing the authority component of the Host header. Applications performing naive host validation may be vulnerable.Recommendations:
Update to Rack version 3.1.21 or 3.2.6 or later.
Exploit
Fix
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Linuxmint
Rack
Ubuntu