CVE-2026-42356: CGI Internal Redirect Handler Confusion in Apache HTTP Server
CVE-2026-42356 is a wrong-handler vulnerability in Apache HTTP Server versions 2.4.60 through 2.4.68. During certain internal redirects from CGI programs, the server incorrectly uses the content type as a handler, causing the redirect target to be treated as CGI and executed. The target must already reside in a CGI-enabled directory and have no other extension understood by mod_mime. This can result in unintended execution of files that would not otherwise be handled as CGI, potentially permitting limited remote code execution.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can cause an eligible internal-redirect target to execute as CGI rather than receive its intended handling. Remote arbitrary code execution is possible under the required configuration and target-file conditions. The CVE-specific CVSS v3.1 assessment of 3.7 characterizes the issue as high-complexity exploitation with low integrity impact and no confidentiality or availability impact; broader impacts attributed to cumulative Apache updates should not be assumed for this vulnerability.
Mitigation
If you can’t patch tonight, do this now.
Disable CGI execution where it is unnecessary and restrict access to CGI endpoints that can issue internal redirects. Review CGI applications to prevent redirects to unintended files in CGI-enabled directories. Limit write access to these directories and keep non-CGI files outside them. These measures reduce exposure but do not replace the security update.
Remediation
Patch, then assume compromise.
Upgrade Apache HTTP Server to version 2.4.69 or a later fixed release, or install the operating-system vendor's security update containing the backported fix. The correction prevents content types from being used as handlers for internal redirects from CGI programs. Assess distribution packages using their complete package release identifiers, since patched builds may retain an upstream version within the affected range. For Debian trixie, the identified fixed package version is 2.4.69-1~deb13u1; for Photon OS 5.0, it is 2.4.69-1.ph5.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Frequently asked questions
- Is CVE-2026-42356 exploited in the wild?
- As of Nov 20, 2026, Mallory has no reports of CVE-2026-42356 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-42356?
- As of Nov 20, 2026, Mallory has found no public exploit for CVE-2026-42356.
- Is there a patch for CVE-2026-42356?
- Upgrade Apache HTTP Server to version 2.4.69 or a later fixed release, or install the operating-system vendor's security update containing the backported fix. The correction prevents content types from being used as handlers for internal redirects from CGI programs.
- How severe is CVE-2026-42356?
- CVE-2026-42356 has a CVSS v3.1 score of 3.7 (Low) and an EPSS score of 0.45% (40th percentile) as of Nov 20, 2026.
Recent activity
42 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.