BIT-apache-2026-42356: Apache HTTP Server: limited RCE for some internal redirects to non-CGI files in CGI directories

Published Oct 1, 2026
·
Updated

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

1 affected component
Apache HTTP Server>=2.4.60<=2.4.68

Event History

Oct 1, 2026
CVE Published
via OSV·03:54 PM
Data Sourced
via OSV·03:54 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

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.

2

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.

3

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203