CVE-2026-42356 PUBLISHED

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

Assigner: apache
Reserved: 26.04.2026 Published: 01.10.2026 Updated: 01.10.2026

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 mod_mime.

This issue affects Apache HTTP Server: from 2.4.60 through 2.4.68.

Product Status

Vendor Apache Software Foundation
Product Apache HTTP Server
Versions Default: unaffected
  • affected from 2.4.60 to 2.4.68 (incl.)

Credits

  • Feliks Penconek finder

References

Problem Types

  • CWE-430 Deployment of wrong handler CWE