cve.bz

CVE-2026-34835 rack rack

6.5 mediumExploit referenceEPSS 0.2%Fix available

Medium (6.5) in rack rack. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in rack 3.1.21, 3.2.6.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 12th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-04-02. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-1286 Improper Validation of Syntactic Correctness of Input
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-34835 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-34835?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-34835?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-34835 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
rack:rackfrom 3.0.0 before 3.1.21
rack:rackfrom 3.2.0 before 3.2.6

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-g2pf-xv49-m2h5RubyGemsrack>=3.0.0.beta1 <3.1.213.1.21
GHSA-g2pf-xv49-m2h5RubyGemsrack>=3.2.0 <3.2.63.2.6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13ruby-rack3.1.20-0+deb13u2DEBIAN-CVE-2026-34835 DSA-6492-1
Debian14ruby-rack3.2.6-2DEBIAN-CVE-2026-34835
Ubuntu25.10ruby-rack3.1.16-0.1ubuntu0.3UBUNTU-CVE-2026-34835
Ubuntu26.04:LTSruby-rack3.2.4-1ubuntu1.1UBUNTU-CVE-2026-34835 USN-8989-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Logging Subsystem for Red Hat OpenShiftopenshift-logging/cluster-logging-operator-bundleFix deferred
Logging Subsystem for Red Hat OpenShiftopenshift-logging/cluster-logging-rhel9-operatorFix deferred
Logging Subsystem for Red Hat OpenShiftopenshift-logging/eventrouter-rhel9Fix deferred
Logging Subsystem for Red Hat OpenShiftopenshift-logging/fluentd-rhel9Fix deferred
Logging Subsystem for Red Hat OpenShiftopenshift-logging/log-file-metric-exporter-rhel9Fix deferred
Logging Subsystem for Red Hat OpenShiftopenshift-logging/logging-view-plugin-rhel9Fix deferred
Logging Subsystem for Red Hat OpenShiftopenshift-logging/vector-rhel9Fix deferred
Red Hat 3scale API Management Platform 23scale-amp20/backendFix deferred
Red Hat 3scale API Management Platform 23scale-amp20/systemFix deferred
Red Hat 3scale API Management Platform 23scale-amp21/backendFix deferred
Red Hat 3scale API Management Platform 23scale-amp21/systemFix deferred
Red Hat 3scale API Management Platform 23scale-amp21/zyncFix deferred
Red Hat 3scale API Management Platform 23scale-amp22/backendFix deferred
Red Hat 3scale API Management Platform 23scale-amp22/systemFix deferred
Red Hat 3scale API Management Platform 23scale-amp22/zyncFix deferred
Red Hat 3scale API Management Platform 23scale-amp24/backendFix deferred
Red Hat 3scale API Management Platform 23scale-amp24/systemFix deferred
Red Hat 3scale API Management Platform 23scale-amp24/zyncFix deferred
Red Hat 3scale API Management Platform 23scale-amp25/backendFix deferred
Red Hat 3scale API Management Platform 23scale-amp25/systemFix deferred
20 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-34835.

GitHub PoC (unverified)

Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.

Attack patterns (CAPEC)

  • CAPEC-66 SQL Injection Likelihood: High · Severity: High
  • CAPEC-676 NoSQL Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON