Vulnerability
CVE-2026-125109
Rack is a modular Ruby web server interface. From 3.0 until 3.1.23 and 3.2.8, Rack::Request#host_with_port, #base_url, and #url can return an attacker-controlled invalid authority from Host, X-Forwarded-Host, or Forwarded: host= verbatim. Applications without an independent host allowlist that use these methods for absolute URLs, redirects, or origin-dependent checks can emit attacker-chosen delimiters, enabling redirect manipulation, string-based allowlist bypass, or unescaped markup reflection. Rails overrides these methods and is not expected to be affected. This issue is fixed in versions 3.1.23 and 3.2.8.
54 advisories report this vulnerability, across 6 ecosystems.
Advisories
-
ALAS2023-2026-3474
Amazon Linux 2023 - ALAS2023-2026-3474: Important priority package update for pcs
- CGA-29hx-g3wj-g8mf
- CGA-2mg6-x946-69wg
- CGA-33wm-qvr6-j597
- CGA-48c3-h3q3-7pm4
- CGA-4982-rx88-4qhf
- CGA-4mxv-7735-m9jj
- CGA-4x6f-3rjw-5x25
- CGA-569c-96rv-jmm2
- CGA-5p55-g4xv-q43j
- CGA-649w-rr82-3j2x
- CGA-73hh-f3j9-pxc3
- CGA-7jfm-6chg-c7m9
- CGA-8q44-cv6j-c52m
- CGA-9g82-vq3r-9wjr
- CGA-9hw8-3g3c-8gfr
- CGA-9j7v-6xpx-xh9g
- CGA-9mmf-q87f-7hf8
- CGA-9rw2-g8mg-26ph
- CGA-c35g-24gc-pvcj
- CGA-c4c2-f683-8hmv
- CGA-f8qr-r9cm-5mjg
- CGA-g228-g3w9-vh4r
- CGA-gqwh-pwc3-g2p6
- CGA-j585-jfjc-97xx
- CGA-j93j-qg23-9c3v
- CGA-j9rq-6w37-f9cg
- CGA-jrxw-fxv7-9339
- CGA-jxcm-ghx2-frg7
- CGA-mfhg-mfrr-3jmr
- CGA-mv63-x82m-wqvr
- CGA-mv94-hhxp-rpfr
- CGA-pcgp-4993-36hp
- CGA-pp4j-qmfp-4xhh
- CGA-pqhc-4m9r-5qqm
- CGA-pwcp-xqmc-pf88
- CGA-qr9r-25rj-2m4c
- CGA-qwf6-9vp7-wpfh
- CGA-rgr4-2886-xfq9
- CGA-rjwm-p9c6-37p6
- CGA-rpw2-475p-5xmr
- CGA-rwj3-259r-2hm4
- CGA-vf7w-783v-wrfp
- CGA-vhjh-9xrp-7227
- CGA-wfhc-f54x-j9f9
- CGA-wwpp-8xjf-w7f5
- CGA-x4xq-jmhp-p4g8
- CGA-x74f-6xph-v58g
- CGA-xhjg-hqwq-2rcf
- CGA-xj82-rj2h-jr29
- CGA-xw6v-7wrg-f4ww
-
DEBIAN-CVE-2026-125109
Rack is a modular Ruby web server interface. From 3.0 until 3.1.23 and 3.2.8, Rack::Request#host_with_port, #base_url, and #url can return an attacker-controlled invalid authority from Host, X-Forwarded-Host, or…
-
GHSA-2j8w-xcrc-x985
Rack: Rack::Request#host_with_port (and #base_url / #url) return the raw invalid Host header — incomplete fix of CVE-2026-34835
-
UBUNTU-CVE-2026-125109
Rack is a modular Ruby web server interface. From 3.0 until 3.1.23 and 3.2.8, Rack::Request#host_with_port, #base_url, and #url can return an attacker-controlled invalid authority from Host, X-Forwarded-Host, or…
References
- https://github.com/rack/rack/commit/4380381a56dc52556a436d6d794c8e18dc8b0565
- https://github.com/rack/rack/commit/49386f460286b7346c7003b69a839de782cc8a39
- https://github.com/rack/rack/releases/tag/v3.1.23
- https://github.com/rack/rack/releases/tag/v3.2.8
- https://github.com/rack/rack/security/advisories/GHSA-2j8w-xcrc-x985