VDB

CVE-2026-34835

CVE-2026-34835 PUBLISHED CVSS 4.8 MEDIUM

Rack: `Rack::Request` accepts invalid Host characters, enabling host allowlist bypass.

Reported by github_m · Published April 2, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kube-fluentd-operatorChainguard1.18.2-r67
logstash-9.0Chainguard9.0.8-r20
logstash-9.3Wolfi9.3.3-r2
logstash-9.1Wolfi9.1.10-r6
ruby3.2-rails-8.0Chainguard8.0.5-r0
rackrack3.2.6, 3.1.21

Risk scores

CVSS 3.1
4.8
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Affected products

VendorProductVersions
rackrack>= 3.0.0.beta1, < 3.1.21, >= 3.2.0, < 3.2.6
chainguardkube-fluentd-operator0
chainguardlogstash-9.00
wolfilogstash-9.30
wolfilogstash-9.10
chainguardruby3.2-rails-8.00
rackrack
chainguardlogstash-9.30
chainguardpact-broker-docker-fips0
wolfikube-fluentd-operator0
chainguardruby3.4-rails-7.20
RubyGemsrack3.2.0, 3.0.0-beta.1
wolfiruby3.4-rails-8.00, 0
chainguardlogstash-9.20
chainguardpact-broker-docker0
chainguardlogstash-8.190
chainguardruby3.2-rails-7.20, 0
chainguardruby3.4-rails-8.00, 0
wolfiruby3.2-rails-8.00
chainguardlogstash-9.10

…and 2 more

Timeline

  • Apr 2, 2026 CVE Published
  • Apr 3, 2026 Security Advisory
  • May 13, 2026 CVE Updated
  • May 18, 2026 EPSS Score (30 in total, the first dated here)
  • Jun 12, 2026 Coalition ESS Score
  • Nov 9, 2026 PoC Published

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-34835
vulnetix vdb fixes CVE-2026-34835

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-34835/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›