
CVE catalog
CVE-2026-34830
Rack is a modular Ruby web server interface. Prior to…
Rack is a modular Ruby web server interface. Prior to versions 2.2.23, 3.1.21, and 3.2.6, Rack::Sendfile#map_accel_path interpolates the value of the X-Accel-Mapping request header directly into a regular expression when rewriting file paths for X-Accel-Redirect. Because the header value is not escaped, an attacker who can supply X-Accel-Mapping to the backend can inject regex metacharacters and control the generated X-Accel-Redirect response header. In deployments using Rack::Sendfile with x-accel-redirect, this can allow an attacker to cause nginx to serve unintended files from configured internal locations. This issue has been patched in versions 2.2.23, 3.1.21, and 3.2.6.
- Severity
- Medium · CVSS 5.9
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.23% · Oct 27, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
Version impact has not been established. The original provider fields are retained below.
Provider details and historical evidence
Original provider fields
{
"package_releases": [
{
"name": "ruby-rack",
"status": "fixed",
"release": "sid",
"version": "3.2.7-1"
},
{
"name": "ruby-rack",
"status": "fixed",
"release": "forky",
"version": "3.2.7-1"
},
{
"name": "ruby-rack",
"status": "vulnerable",
"release": "trixie",
"version": "3.1.20-0+deb13u1"
},
{
"name": "ruby-rack",
"status": "fixed",
"release": "trixie-security",
"version": "3.1.20-0+deb13u2"
},
{
"name": "ruby-rack",
"status": "vulnerable",
"release": "bookworm",
"version": "2.2.22-0+deb12u1"
},
{
"name": "ruby-rack",
"status": "fixed",
"release": "bookworm-security",
"version": "2.2.22-0+deb12u2"
}
],
"fixed_versions": [
{
"bug": null,
"name": "ruby-rack",
"type": "source",
"origin": null,
"release": "sid",
"urgency": "not yet assigned",
"fixed_version": "3.2.6-2"
},
{
"bug": null,
"name": "ruby-rack",
"type": "source",
"origin": null,
"release": "forky",
"urgency": "not yet assigned",
"fixed_version": "3.2.6-2"
},
{
"bug": null,
"name": "ruby-rack",
"type": "source",
"origin": null,
"release": "trixie",
"urgency": "not yet assigned",
"fixed_version": "3.1.20-0+deb13u2"
},
{
"bug": null,
"name": "ruby-rack",
"type": "source",
"origin": null,
"release": "bookworm",
"urgency": "not yet assigned",
"fixed_version": "2.2.22-0+deb12u2"
}
],
"distribution_packages": [
{
"name": "ruby-rack",
"ecosystem": "cpe",
"fixed_version": "2.2.7-1ubuntu0.7"
},
{
"name": "ruby-rack",
"ecosystem": "cpe",
"fixed_version": "not yet fixed"
},
{
"name": "rack",
"ecosystem": "cpe",
"fixed_version": "2.2.23"
},
{
"name": "rack",
"ecosystem": "cpe",
"fixed_version": "3.1.21"
},
{
"name": "rack",
"ecosystem": "cpe",
"fixed_version": "3.2.6"
},
{
"name": "ruby-rack",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.1.4-5ubuntu1.2+esm3"
}
]
}
],
"release": "pro",
"versions": [
"2.1.4-3",
"2.1.4-4",
"2.1.4-5",
"2.1.4-5ubuntu1",
"2.1.4-5ubuntu1+esm2",
"2.1.4-5ubuntu1+esm3",
"2.1.4-5ubuntu1+esm4",
"2.1.4-5ubuntu1+esm5",
"2.1.4-5ubuntu1.1",
"2.1.4-5ubuntu1.1+esm1",
"2.1.4-5ubuntu1.1+esm2",
"2.1.4-5ubuntu1.2",
"2.1.4-5ubuntu1.2+esm1",
"2.1.4-5ubuntu1.2+esm2"
],
"ecosystem": "deb",
"fixed_version": "2.1.4-5ubuntu1.2+esm3",
"provider_record_id": "UBUNTU-CVE-2026-34830"
},
{
"name": "ruby-rack",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.2.7-1ubuntu0.7"
}
]
}
],
"release": "24.04",
"versions": [
"2.2.4-3",
"2.2.7-1",
"2.2.7-1ubuntu0.1",
"2.2.7-1ubuntu0.2",
"2.2.7-1ubuntu0.3",
"2.2.7-1ubuntu0.4",
"2.2.7-1ubuntu0.5",
"2.2.7-1ubuntu0.6"
],
"ecosystem": "deb",
"fixed_version": "2.2.7-1ubuntu0.7",
"provider_record_id": "UBUNTU-CVE-2026-34830"
},
{
"name": "ruby-rack",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.1.16-0.1ubuntu0.3"
}
]
}
],
"release": "25.10",
"versions": [
"2.2.7-1.1",
"3.1.16-0.1",
"3.1.16-0.1ubuntu0.1",
"3.1.16-0.1ubuntu0.2"
],
"ecosystem": "deb",
"fixed_version": "3.1.16-0.1ubuntu0.3",
"provider_record_id": "UBUNTU-CVE-2026-34830"
},
{
"name": "ruby-rack",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"release": "26.04",
"versions": [
"3.1.16-0.1",
"3.1.18-1",
"3.1.18-1build1",
"3.2.4-1ubuntu1"
],
"ecosystem": "deb",
"fixed_version": "",
"provider_record_id": "UBUNTU-CVE-2026-34830"
}
]
}OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [ruby-rack]Unknown
Details (4)
2.2.22-0+deb12u1· all · bookwormAffected · Fixed:
2.2.22-0+deb12u2nvd · ruby-rack · debian · bookworm; nvd · ruby-rack · debian · 12
2.2.22-0+deb12u1· all · bookwormAffected · Fixed:
2.2.22-0+deb12u2nvd · ruby-rack · debian · bookworm; nvd · ruby-rack · debian · 12
2.2.22-0+deb12u2· all · bookworm-securityFixed · Fixed:
2.2.22-0+deb12u2nvd · ruby-rack · debian · bookworm; nvd · ruby-rack · debian · 12
2.2.22-0+deb12u2· all · bookworm-securityFixed · Fixed:
2.2.22-0+deb12u2nvd · ruby-rack · debian · bookworm; nvd · ruby-rack · debian · 12
[Debian 13 (Trixie)]
- [ruby-rack]Unknown
Details (5)
3.1.20-0+deb13u1· all · trixieAffected · Fixed:
3.1.20-0+deb13u2nvd · ruby-rack · debian · 13
3.1.20-0+deb13u1· all · trixieAffected · Fixed:
3.1.20-0+deb13u2nvd · ruby-rack · debian · 13
3.1.20-0+deb13u1· all · trixie-securityAffected · Fixed:
3.1.20-0+deb13u2nvd · ruby-rack · debian · 13
3.1.20-0+deb13u1· all · trixie-security · Historical versionAffected · Fixed:
3.1.20-0+deb13u2nvd · ruby-rack · debian · 13
3.1.20-0+deb13u2· all · trixie-securityFixed · Fixed:
3.1.20-0+deb13u2nvd · ruby-rack · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_10508-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-34830]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-34830]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-34830]
- [https://security-tracker.debian.org/tracker/CVE-2026-34830]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-34830.json]
- [https://ubuntu.com/security/notices/USN-8182-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-1687.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]