CVE-2026-34835
Rack: `Rack::Request` accepts invalid Host characters, enabling host allowlist bypass.
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.214% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:25:55.090Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 4.8 · published by GitHub_MCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Assessment source · checked 2026-11-19T12:58:26.113Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:25:55.090Z | CISA KEV |
| cvss | verified | 2026-11-19T12:58:26.113Z | CVE Program |
| epss | verified | 2026-11-19T16:04:49.143Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:43.599Z | OSV |
| affected | verified | 2026-11-19T12:58:26.113Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:58:26.113Z | CVE Program |
Affected versions and configuration
rack rack; default status: unknown: >= 3.0.0.beta1, < 3.1.21 [affected; scheme: unspecified]; >= 3.2.0, < 3.2.6 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "rack",
"product": "rack",
"versions": [
{
"status": "affected",
"version": ">= 3.0.0.beta1, < 3.1.21"
},
{
"status": "affected",
"version": ">= 3.2.0, < 3.2.6"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-34835",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-04-02T17:43:54.517566Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-04-02T17:44:03.453Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-g2pf-xv49-m2h5",
"aliases": [
"CVE-2026-34835"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.0.0.beta1"
},
{
"fixed": "3.1.21"
}
]
}
],
"package": {
"name": "rack",
"purl": "pkg:gem/rack",
"ecosystem": "RubyGems"
},
"versions": [
"3.0.0",
"3.0.0.beta1",
"3.0.0.rc1",
"3.0.1",
"3.0.10",
"3.0.11",
"3.0.12",
"3.0.13",
"3.0.14",
"3.0.15",
"3.0.16",
"3.0.17",
"3.0.18",
"3.0.2",
"3.0.3",
"3.0.4",
"3.0.4.1",
"3.0.4.2",
"3.0.5",
"3.0.6",
"3.0.6.1",
"3.0.7",
"3.0.8",
"3.0.9",
"3.0.9.1",
"3.1.0",
"3.1.1",
"3.1.10",
"3.1.11",
"3.1.12",
"3.1.13",
"3.1.14",
"3.1.15",
"3.1.16",
"3.1.17",
"3.1.18",
"3.1.19",
"3.1.2",
"3.1.20",
"3.1.3",
"3.1.4",
"3.1.5",
"3.1.6",
"3.1.7",
"3.1.8",
"3.1.9"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-g2pf-xv49-m2h5/GHSA-g2pf-xv49-m2h5.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.2.0"
},
{
"fixed": "3.2.6"
}
]
}
],
"package": {
"name": "rack",
"purl": "pkg:gem/rack",
"ecosystem": "RubyGems"
},
"versions": [
"3.2.0",
"3.2.1",
"3.2.2",
"3.2.3",
"3.2.4",
"3.2.5"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-g2pf-xv49-m2h5/GHSA-g2pf-xv49-m2h5.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/rack/rack/security/advisories/GHSA-g2pf-xv49-m2h5",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-34835",
"type": "ADVISORY"
},
{
"url": "https://github.com/rack/rack",
"type": "PACKAGE"
},
{
"url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2026-34835.yml",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-1286"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2026-04-02T18:16:33Z",
"github_reviewed_at": "2026-04-02T20:36:40Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | RubyGems / package | rack | Not a distribution channel | 3.1.21 | Official record |
| ecosystem-boundary | RubyGems / package | rack | Not a distribution channel | 3.2.6 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:43.599ZArchived source JSON
Source publication: 2026-04-02T20:36:40.000Z
Source modification: 2026-09-10T03:50:44.295ZDocument fingerprint
65ea4b0a73ce0ee46c9bed7dea7db065395c496a8fe9af6fec0a4affa0e9df8b - CISA KEVConsulted: 2026-11-19T16:25:55.090ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:58:26.113ZArchived source JSON
Source publication: 2026-04-02T17:09:07.047Z
Source modification: 2026-04-02T17:44:03.453ZDocument fingerprint
d4943ed67dadeaf50311acff3c3d6cedb35769a421567d8ae411165a6387b3bb - FIRST EPSSConsulted: 2026-11-19T16:04:49.143ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
4ef96dbbcf31fec4681315361f2b1707ba6405e039231678b6857545cf9eacd1
Official status history
- UNKNOWN → PUBLISHED · · evidence