CVE & CISA-KEV Catalog

CVE-2026-34830

MEDIUM
5.9
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
ruby-rackDebian
Fixed in:3.2.6-2CVE-2026-34830
librack-rubyUbuntu
Fixed in:1.5.2-3+deb8u3ubuntu1~esm11USN-8182-1
librack-ruby1.8Ubuntu
Fixed in:1.5.2-3+deb8u3ubuntu1~esm11USN-8182-1
librack-ruby1.9.1Ubuntu
Fixed in:1.5.2-3+deb8u3ubuntu1~esm11USN-8182-1
ruby-rackUbuntu
Fixed in:1.5.2-3+deb8u3ubuntu1~esm11USN-8182-1
Fixed in:1.6.4-3ubuntu0.2+esm10USN-8182-1
Fixed in:1.6.4-4ubuntu0.2+esm10USN-8182-1
Fixed in:2.0.7-2ubuntu0.1+esm10USN-8182-1
Fixed in:2.1.4-5ubuntu1.2+esm3USN-8182-1
Fixed in:2.2.7-1ubuntu0.7USN-8182-1
Fixed in:3.1.16-0.1ubuntu0.3USN-8182-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityNone
AvailabilityNone

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Exploit Intelligence

0.21%probability of exploitation in 30 days
11thpercentile

Low risk: more likely to be exploited than 11% of all known CVEs.

References

Vendor Advisory1
Embed a live status badge for CVE-2026-34830
CVE-2026-34830 severity badge

Markdown

[![CVE-2026-34830](https://tridentstack.com/cve/badge/CVE-2026-34830.svg)](https://tridentstack.com/cve/CVE-2026-34830)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-34830"><img src="https://tridentstack.com/cve/badge/CVE-2026-34830.svg" alt="CVE-2026-34830"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-04-16.