CVE Database›Document archive›CVE-2026-34830

CVE-2026-34830

rack: Rack: Information disclosure via regular expression injection in X-Accel-Mapping header

Loading…

Severity

Moderate

Red Hat Product Security

5.9

CVSS 3.1

Review impact separately from score.

Published · April 3, 2026

Updated · June 30, 2026

Description

A flaw was found in Rack. A remote attacker can exploit this vulnerability by injecting regular expression metacharacters into the X-Accel-Mapping request header. This improper input validation in Rack::Sendfile#map_accel_path allows the attacker to control the generated X-Accel-Redirect response header. Consequently, in deployments using Rack::Sendfile with x-accel-redirect, this can cause nginx to serve unintended files from configured internal locations, leading to information disclosure.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

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.

CVSS / CWE

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

CWE-625 · Permissive Regular Expression