CVE-2026-34835: Rack: `Rack::Request` accepts invalid Host characters, enabling host allowlist bypass.
Vulnerability summary
CVE-2026-34835 is a medium (CVSS 6.5) vulnerability in rack. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 18.6% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 4.8, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 4 · Related 3Timeline
- 02-04-2026PublishedVulnerability first disclosed.
- 02-04-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
7 scores · 7 sources · 1 version- CVE.orgCNA4.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:NDiffers
- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- OSV · WolfiEcosystem advisory · calculated4.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:NDiffers
- OSV · ChainguardEcosystem advisory · calculated4.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:NDiffers
- OSV · RubygemsEcosystem advisory · calculated4.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:NDiffers
EPSS trend
Probability
0.26%
Chance of exploitation in the next 30 days
Percentile
19%
Versus all other CVEs
30-day change
Increase +0.06 pp
From 0.20% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundRack
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard29 products
- kube-fluentd-operator< 1.18.2-r60 | < 1.18.2-r67
- logstash-8.17All versions (No fix recorded)
- logstash-8.17-iamguarded-compatAll versions (No fix recorded)
- logstash-8.17-with-output-opensearchAll versions (No fix recorded)
- logstash-8.18All versions (No fix recorded)
Wolfi4 products
- kube-fluentd-operator< 1.18.2-r60 | < 1.18.2-r67
- logstash-9.3< 9.3.3-r2
- logstash-9.3-iamguarded-compat< 9.3.3-r2
- logstash-9.3-with-output-opensearch< 9.3.3-r2
Debian1 product
- ruby-rack< 3.1.20-0+deb13u2 | < 3.2.6-2
Rack1 product
- rack≥ 3.0.0.beta1, < 3.1.21 | ≥ 3.0.0, < 3.1.21 | ≥ 3.2.0, < 3.2.6
RubyGems1 product
- rack≥ 3.0.0.beta1, < 3.1.21 | ≥ 3.2.0, < 3.2.6
Ubuntu1 product
- ruby-rackAll versions (No fix recorded) | < 3.1.16-0.1ubuntu0.3 | < 3.2.4-1ubuntu1.1
6 vendors · 37 products
References
10 links- github.com/rack/rack/security/advisories/GHSA-g2pf-xv49-m2h5X Refsource CONFIRMREPORTAdvisoryWEBExploitMitigationVendor Advisory
- github.com/rack/rackPACKAGE