# CVE-2026-125109: Rack: Rack::Request\#host\_with\_port (and \#base\_url / \#url) return the raw invalid Host header — incomplete fix of CVE-2026-34835

- Priority: **Routine**
- Reason: Not severe (CVSS 4.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-09 · Modified: 2026-11-10
- Aliases: DEBIAN-CVE-2026-125109, GHSA-2j8w-xcrc-x985, CGA-33wm-qvr6-j597, CGA-rpw2-475p-5xmr, CGA-48c3-h3q3-7pm4, CGA-9g82-vq3r-9wjr, CGA-j9rq-6w37-f9cg, CGA-rgr4-2886-xfq9, CGA-29hx-g3wj-g8mf, CGA-4mxv-7735-m9jj, CGA-4x6f-3rjw-5x25, CGA-569c-96rv-jmm2, CGA-8q44-cv6j-c52m, CGA-9hw8-3g3c-8gfr, CGA-9j7v-6xpx-xh9g, CGA-9rw2-g8mg-26ph, CGA-gqwh-pwc3-g2p6, CGA-jrxw-fxv7-9339, CGA-mv63-x82m-wqvr, CGA-pqhc-4m9r-5qqm, CGA-rjwm-p9c6-37p6, CGA-rwj3-259r-2hm4, CGA-vhjh-9xrp-7227, CGA-2mg6-x946-69wg, CGA-4982-rx88-4qhf, CGA-5p55-g4xv-q43j, CGA-7jfm-6chg-c7m9, CGA-9mmf-q87f-7hf8, CGA-jxcm-ghx2-frg7, CGA-mv94-hhxp-rpfr, CGA-pp4j-qmfp-4xhh, CGA-pwcp-xqmc-pf88, CGA-qwf6-9vp7-wpfh, CGA-wwpp-8xjf-w7f5, CGA-649w-rr82-3j2x, CGA-x4xq-jmhp-p4g8, CGA-xw6v-7wrg-f4ww, CGA-qr9r-25rj-2m4c, CGA-73hh-f3j9-pxc3, CGA-c4c2-f683-8hmv, CGA-j585-jfjc-97xx, CGA-j93j-qg23-9c3v, CGA-mfhg-mfrr-3jmr, CGA-pcgp-4993-36hp, CGA-c35g-24gc-pvcj, UBUNTU-CVE-2026-125109, CGA-f8qr-r9cm-5mjg, CGA-x74f-6xph-v58g, CGA-xj82-rj2h-jr29, CGA-xhjg-hqwq-2rcf, CGA-j4qf-c656-xwpj, CGA-j59q-jh4m-866w
- Record: https://cvemate.com/vulnerability/CVE-2026-125109 · JSON: https://cvemate.com/vulnerability/CVE-2026-125109/json

## Description

```text
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.
```

## Signals

- CVSS: 4.8 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
- EPSS: 0.295%, percentile 23.734%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 35)

- chainguard logstash-8.19 (Chainguard): All versions (No fix recorded) \| \< 8.19.25-r1
- chainguard logstash-8.19-iamguarded-compat (Chainguard): All versions (No fix recorded) \| \< 8.19.25-r1
- chainguard logstash-8.19-with-output-opensearch (Chainguard): All versions (No fix recorded) \| \< 8.19.25-r1
- chainguard logstash-9.3 (Chainguard): All versions (No fix recorded)
- chainguard logstash-9.3-iamguarded-compat (Chainguard): All versions (No fix recorded)
- chainguard logstash-9.4 (Chainguard): All versions (No fix recorded) \| \< 9.4.9-r2
- chainguard logstash-9.4-iamguarded-compat (Chainguard): All versions (No fix recorded) \| \< 9.4.9-r2
- chainguard logstash-9.5 (Chainguard): All versions (No fix recorded) \| \< 9.5.6-r5
- chainguard logstash-9.5-iamguarded-compat (Chainguard): All versions (No fix recorded) \| \< 9.5.6-r5
- chainguard logstash-9.5-with-output-opensearch (Chainguard): All versions (No fix recorded) \| \< 9.5.6-r5
- chainguard logstash-9.5-with-output-opensearch-syslog (Chainguard): All versions (No fix recorded) \| \< 9.5.6-r5
- chainguard logstash-fips-9.4 (Chainguard): All versions (No fix recorded) \| \< 9.4.9-r1
- chainguard logstash-fips-9.4-iamguarded-compat (Chainguard): All versions (No fix recorded) \| \< 9.4.9-r1
- chainguard logstash-fips-9.4-with-output-opensearch (Chainguard): All versions (No fix recorded) \| \< 9.4.9-r1
- chainguard logstash-fips-9.5 (Chainguard): All versions (No fix recorded) \| \< 9.5.6-r2
- chainguard logstash-fips-9.5-iamguarded-compat (Chainguard): All versions (No fix recorded) \| \< 9.5.6-r2
- chainguard logstash-fips-9.5-with-output-opensearch (Chainguard): All versions (No fix recorded) \| \< 9.5.6-r2
- chainguard logstash-fips-9.5-with-output-opensearch-syslog (Chainguard): All versions (No fix recorded) \| \< 9.5.6-r2
- chainguard pact-broker-docker (Chainguard): All versions (No fix recorded) \| \< 2.142.0.2.120.0-r4
- chainguard pact-broker-docker-fips (Chainguard): \< 2.142.0.2.120.0-r5

## References

- <https://github.com/rack/rack/security/advisories/GHSA-2j8w-xcrc-x985>
- <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://security-tracker.debian.org/tracker/CVE-2026-125109>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-125109>
- <https://github.com/rack/rack>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/GHSA-2j8w-xcrc-x985.yml>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125109.json>
- <https://ubuntu.com/security/CVE-2026-125109>
- <https://www.cve.org/CVERecord?id=CVE-2026-125109>

---

Data as of 2026-12-05T07:35:05.313Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
