BIT-apache-2026-42356: Apache HTTP Server: limited RCE for some internal redirects to non-CGI files in CGI directories
Deployment of wrong handler vulnerability in Apache HTTP Server allows the target of some internal redirects from CGI programs to also be treated as CGI and executed. The target must already be in a directory enabled for CGI and have no other extension understood by modmime.
This issue affects Apache HTTP Server: from 2.4.60 through 2.4.68.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Affected deployments use Apache HTTP Server versions 2.4.60 through 2.4.68 and have CGI-enabled directories. Exploitation further depends on a non-CGI file in such a directory that has no extension recognized by mod_mime.
What must occur for the vulnerable handler assignment to be triggered?
A CGI program must perform one of the affected internal redirects to the target file. The redirected target can then be treated as CGI and executed even though it is not a CGI file.
Does a CGI-enabled directory alone make every file vulnerable to execution?
No. The described condition requires an internal redirect from a CGI program and a target already located in a CGI-enabled directory. The target must also have no other extension understood by mod_mime.