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
Vulnerability summary
CVE-2026-125109 is a medium (CVSS 4.8) vulnerability in rack. EPSS estimates a 0.29% chance of exploitation in the next 30 days, higher than 23.7% of scored vulnerabilities.
Not severe (CVSS 4.8, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 09-11-2026PublishedVulnerability first disclosed.
- 10-11-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
7 scores · 7 sources · 1 version- NVDNIST4.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
- OSV · DebianEcosystem advisory · calculated4.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
- OSV · RubygemsEcosystem advisory · calculated4.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
- OSV · ChainguardEcosystem advisory · calculated4.8MediumCVSS:3.1/AV:N/AC:H/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:N
- OSV · UbuntuEcosystem advisory · calculated4.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS trend
Probability
0.29%
Chance of exploitation in the next 30 days
Percentile
24%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard26 products
- logstash-8.19All versions (No fix recorded) | < 8.19.25-r1
- logstash-8.19-iamguarded-compatAll versions (No fix recorded) | < 8.19.25-r1
- logstash-8.19-with-output-opensearchAll versions (No fix recorded) | < 8.19.25-r1
- logstash-9.3All versions (No fix recorded)
- logstash-9.3-iamguarded-compatAll versions (No fix recorded)
Wolfi5 products
- logstash-9.3All versions (No fix recorded)
- logstash-9.3-iamguarded-compatAll versions (No fix recorded)
- logstash-9.4All versions (No fix recorded) | < 9.4.9-r2
- logstash-9.4-iamguarded-compatAll versions (No fix recorded) | < 9.4.9-r2
- ruby3.4-kube-logging-operator-fluentd-outputsAll versions (No fix recorded) | < 6.9.0-r12
Debian1 product
- ruby-rackAll versions (No fix recorded) | < 3.2.8-1
Rack1 product
- rack≥ 3.0, < 3.1.23 | ≥ 3.2, < 3.2.8
RubyGems1 product
- rack≥ 3.0.0, < 3.1.23 | ≥ 3.2.0, < 3.2.8
Ubuntu1 product
- ruby-rackAll versions (No fix recorded)
6 vendors · 35 products
References
12 links- github.com/rack/rackPACKAGE