#VU124836 Incorrect Behavior Order: Validate Before Canonicalize in Rack - CVE-2026-34786
Published: April 2, 2026
Vulnerability identifier: #VU124836
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-34786
CWE-ID: CWE-180
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerable software:
Rack
Rack
Software vendor:
Rack
Rack
Description
The vulnerability allows a remote attacker to gain unauthorized access to otherwise restricted functionality.
The vulnerability exists due to incorrect behavior order when "Rack::Static#applicable_rules" evaluates several "header_rules" types. A remote attacker can request an encoded form of the path and bypass those headers.
Remediation
Install updates from vendor's website.