# CVE-2026-34835: Rack: \`Rack::Request\` accepts invalid Host characters, enabling host allowlist bypass.

- 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-04-02 · Modified: 2026-04-02
- Aliases: UBUNTU-CVE-2026-34835, DEBIAN-CVE-2026-34835, CGA-53wf-26hx-m78g, CGA-85qv-mg5h-fcp6, CGA-8f96-xrfg-gr7j, CGA-8v29-3cf9-cr4j, CGA-ggg9-rq9m-62p7, CGA-h7fw-c6wr-2wrf, CGA-hgmm-v32h-v3pw, CGA-mv4x-hwfg-99j6, CGA-vxh3-hhx2-r4cf, CGA-wc57-67qj-xg48, CGA-2gr8-78p5-7377, CGA-36gv-3xr4-fqwf, CGA-3fmv-92fq-3c38, CGA-3qfm-cc5x-8v73, CGA-423f-78gh-c944, CGA-45w2-xvjj-m7h7, CGA-4958-xv4m-jxv9, CGA-4fcv-r8mm-c673, CGA-52fr-4x87-4v9p, CGA-54g3-33xq-wgg2, CGA-5959-8m6f-h8h6, CGA-79rm-3vx4-cg92, CGA-7m69-pq43-rprw, CGA-95m9-qjf8-9qfh, CGA-9vcf-x35f-rmpr, CGA-cjh2-hmjv-h35j, CGA-cr5m-2ffp-6qfr, CGA-f2xm-c2v5-gj26, CGA-f4m6-26qw-cm3m, CGA-f4m7-jff6-r5m8, CGA-f7r5-gffw-9ff3, CGA-fc26-35mw-x55q, CGA-fg4p-m6pj-jf59, CGA-gj5f-rcc9-h6cm, CGA-hq68-cjm5-f8vx, CGA-j7c4-w9gf-mm6v, CGA-jqr8-9q6m-9v3x, CGA-m8x6-98r5-p5h8, CGA-mcgf-rcv7-f644, CGA-mf2r-cqwp-34pq, CGA-mfqr-8g49-wf5p, CGA-mwm3-262c-c825, CGA-p2xh-9957-353x, CGA-p7m8-8q6q-pqq4, GHSA-g2pf-xv49-m2h5, CGA-q2q8-4397-prg9, CGA-qfv4-mrx2-26mj, CGA-r4g4-jwwm-48g7, CGA-r56j-8vf4-c6h7, CGA-r8pc-6wxc-4qp9, CGA-rcvp-33jx-qfc6, CGA-rpgf-cq5q-gm54, CGA-rr97-w95f-299r, CGA-vfx3-jh97-hxrm, CGA-vpph-7r6x-5p59, CGA-wj6j-x3rc-69j9, CGA-x2r7-hcm8-w5pq, CGA-x5vj-g8h5-c343, CGA-x836-2p43-6jrm, CGA-xmrp-33r5-wg3c, CGA-xrjp-mmjp-m4p5
- Record: https://cvemate.com/vulnerability/CVE-2026-34835 · JSON: https://cvemate.com/vulnerability/CVE-2026-34835/json

## Description

```text
Rack is a modular Ruby web server interface. From versions 3.0.0.beta1 to before 3.1.21, and 3.2.0 to before 3.2.6, Rack::Request parses the Host header using an AUTHORITY regular expression that accepts characters not permitted in RFC-compliant hostnames, including /, ?, #, and @. Because req.host returns the full parsed value, applications that validate hosts using naive prefix or suffix checks can be bypassed. 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. This issue has been patched in versions 3.1.21 and 3.2.6.
```

## Signals

- CVSS: 6.5 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- EPSS: 0.258%, percentile 18.608%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected (first 20 of 37)

- chainguard kube-fluentd-operator (Chainguard): \< 1.18.2-r60 \| \< 1.18.2-r67
- chainguard logstash-8.17 (Chainguard): All versions (No fix recorded)
- chainguard logstash-8.17-iamguarded-compat (Chainguard): All versions (No fix recorded)
- chainguard logstash-8.17-with-output-opensearch (Chainguard): All versions (No fix recorded)
- chainguard logstash-8.18 (Chainguard): All versions (No fix recorded)
- chainguard logstash-8.18-iamguarded-compat (Chainguard): All versions (No fix recorded)
- chainguard logstash-8.18-with-output-opensearch (Chainguard): All versions (No fix recorded)
- chainguard logstash-8.19 (Chainguard): \< 8.19.14-r3
- chainguard logstash-8.19-iamguarded-compat (Chainguard): \< 8.19.14-r3
- chainguard logstash-8.19-with-output-opensearch (Chainguard): \< 8.19.14-r3
- chainguard logstash-9.0 (Chainguard): \< 9.0.8-r20
- chainguard logstash-9.0-iamguarded-compat (Chainguard): \< 9.0.8-r20
- chainguard logstash-9.0-with-output-opensearch (Chainguard): \< 9.0.8-r20
- chainguard logstash-9.1 (Chainguard): \< 9.1.10-r6
- chainguard logstash-9.1-bitnami-compat (Chainguard): \< 9.1.10-r6
- chainguard logstash-9.1-iamguarded-compat (Chainguard): \< 9.1.10-r6
- chainguard logstash-9.1-with-output-opensearch (Chainguard): \< 9.1.10-r6
- chainguard logstash-9.2 (Chainguard): \< 9.2.8-r2
- chainguard logstash-9.2-iamguarded-compat (Chainguard): \< 9.2.8-r2
- chainguard logstash-9.2-with-output-opensearch (Chainguard): \< 9.2.8-r2

## References

- <https://github.com/rack/rack/security/advisories/GHSA-g2pf-xv49-m2h5>
- <https://ubuntu.com/security/CVE-2026-34835>
- <https://www.cve.org/CVERecord?id=CVE-2026-34835>
- <https://ubuntu.com/security/notices/USN-8182-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-34835>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34835.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-34835>
- <https://github.com/rack/rack>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2026-34835.yml>
- <https://ubuntu.com/security/notices/USN-8989-1>

---

Data as of 2026-12-05T07:16:15.485Z. 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
