CVE-2026-42356: Apache HTTP Server: limited RCE for some internal redirects to non-CGI files in CGI directories
Low-severity CVE-2026-42356 can execute some non-CGI files in Apache HTTP Server CGI directories.
CVE-2026-42356 is a low-rated wrong-handler vulnerability in Apache HTTP Server 2.4.60 through 2.4.68. Some internal redirects originating from CGI programs can cause the redirect target to be treated as CGI and executed. The target must already be in a CGI-enabled directory and have no extension understood by mod_mime. The disclosure describes limited remote code execution under those conditions and does not report active exploitation.
- CVE-2026-42356 is a wrong-handler flaw enabling limited code execution.
- Some internal CGI redirects execute non-CGI files as CGI.
- Targets must already be in a CGI directory without a mod_mime extension.
- Apache HTTP Server 2.4.60 through 2.4.68 is affected and rated low.
- CVEs
- CVE-2026-42356
- Vendors
- Apache Software Foundation
- Products
- Apache HTTP Server
- Organizations
- Apache Software Foundation
Vulnerabilities mentioned
All| CVE | Vulnerability | CVSS | EPSS | Signals | Published |
|---|---|---|---|---|---|
| CVE-2026-42356 | Wrong CGI handler on redirects in Apache HTTP Server | 3.7 | — |
From the original article
Posted by Eric Covener on Oct 01 Severity: low Affected versions: - Apache HTTP Server 2. 4. 60 through 2.
seclists.org
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.