CVE-2026-42356: Apache HTTP Server: limited RCE for some internal redirects to non-CGI files in CGI directories
CVE-2026-42356 key facts
- CISA KEV
- Not listed (catalogue checked )
- Highest advisory rating
- Low
- CVSS base score
- 3.7 (Apache), 3.7 (NetApp), 3.7 (Red Hat)
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N· base score 3.7, scored by CISA-ADPAttack vector: network. Attack complexity: high. Privileges required: none. User interaction: none. Scope: unchanged. Confidentiality impact: none. Integrity impact: low. Availability impact: none.- Weakness
- CWE-430 Deployment of wrong handler
- EPSS
- 0.44% chance of exploitation in the next 30 days (38th percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: no. Technical impact: partial. CISA, .
- Fixed releases
- Red Hat: httpd-main-2.4.69-1.hum1, RHSA-2026:74858
- Assigned by
- apache (CNA)
- CVE record published
- Listed by VulniPulse
- Record changed
Ratings, versions and fixes are quoted from the vendor advisories that cover only CVE-2026-42356; each belongs to its advisory, not to every product listed. How records are collected and checked.
Description
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.
Text from the CVE.org record (apache).
How do I fix CVE-2026-42356?
Upgrade to a fixed release named by the vendor:
- Red Hat: httpd-main-2.4.69-1.hum1, RHSA-2026:74858
- If CGI functionality is not required, disable CGI execution by commenting out `mod_cgi` or `mod_cgid` in the Apache configuration (for example, in `/etc/httpd/conf.modules.d/01-cgi.conf`), or by removing `ExecCGI` from `Options` directives in `/etc/httpd/conf/httpd.conf`. Apply the changes to the running service: systemctl reload httpd Caveats: Disabling CGI modules or execution options will prevent any existing CGI applications from functioning. Warning: Reloading or restarting the httpd service may temporarily disrupt active connections. (Red Hat)
Vendor advisories for CVE-2026-42356
Apache
1 advisory- Advisory severityLow3.7
Low [CVE-2026-42356] 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
CVE-2026-42356Source published Source 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 mod_mime. This issue affects Apache HTTP Server: from 2.4.60 through 2.4.68.
- Affected products in this advisory
- Apache HTTP Server
- Source-reported affected versions
- 2.4.60 through 2.4.68.
- through 2.4.68
- Source-reported fixed versions
- No fixed-version detail extracted. This does not mean no fix exists.
- Mitigation guidance
- No mitigation guidance extracted; consult the source.
NetApp
1 advisory- Advisory severityLow3.7
Low [CVE-2026-42356] Apache HTTP Server Vulnerability in NetApp Products
NTAP-20261007-0020Source published Source updated
Apache HTTP Server versions 2.4.60 through 2.4.68 are susceptible to a vulnerability which when successfully exploited could lead to addition or modification of data. Successful exploitation of this vulnerability could lead to addition or modification of data. NetApp reports that one or more additional products remain under investigation; review the canonical advisory for current status. NetApp states there is no workaround available at this time.
- Affected products in this advisory
- No product details extracted. Check the source bulletin.
- Source-reported affected versions
- 2.4.60
- 2.4.68
- Source-reported fixed versions
- No fixed-version detail extracted. This does not mean no fix exists.
- Mitigation guidance
- No mitigation guidance extracted; consult the source.
Red Hat
1 advisory- Advisory severityLow3.7
Low [CVE-2026-42356] arbitrary code execution via incorrect handler assignment during internal CGI redirects
CVE-2026-42356Source published Source 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 mod_mime. An attacker could achieve unintended code execution when an internal redirect generated by a Common Gateway Interface (CGI) program points to a non-executable file. If the target file resides in a directory configured for CGI execution and lacks a file extension recognized by the MIME handler, the server incorrectly treats and executes the target file as a script. This issue could allow an attacker to run unauthorized commands or code within the server context. Red Hat severity: Low — CVSS 3.7…
- Affected products in this advisory
- Red Hat Hardened Images
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 9
- Red Hat JBoss Core Services
1 more entries in the full advisory.
- Source-reported affected versions
- 2.4.60
- 2.4.68
- Source-reported fixed versions
- httpd-main-2.4.69-1.hum1
- RHSA-2026:74858
- Mitigation guidance
- If CGI functionality is not required, disable CGI execution by commenting out `mod_cgi` or `mod_cgid` in the Apache configuration (for example, in `/etc/httpd/conf.modules.d/01-cgi.conf`), or by removing `ExecCGI` from `Options` directives in `/etc/httpd/conf/httpd.conf`. Apply the changes to the running service: systemctl reload httpd Caveats: Disabling CGI modules or execution options will prevent any existing CGI applications from functioning. Warning: Reloading or restarting the httpd service may temporarily disrupt active connections.
References
- CVE-2026-42356 recordCVE.org
- CVE-2026-42356 detailNVD
- httpd.apache.org/security/vulnerabilities_24.htmlvendor-advisory
Timeline
- CVE record published
- First vendor advisory listed by VulniPulse
- CVE record last updated
More Apache advisories
CVE-2026-106023Nov 11, 2026NULL pointer dereference vulnerability in Apache HTTP Server's mod_md during HTTP requestCVE-2026-109163Nov 11, 2026Stack-based buffer overflow vulnerability in Apache HTTP Server's mod_vhost_aliasCVE-2026-119618Nov 11, 2026Concurrent Execution using Shared Resource with Improper SynchronizationCVE-2026-63686Oct 1, 2026NULL pointer dereference in mod_xml2enc in Apache Software Foundation Apache HTTP ServerCVE-2026-73637Oct 1, 2026Use after free in mod_auth_digest in Apache Software Foundation Apache HTTP ServerCVE-2026-73636Oct 1, 2026Authentication bypass by capture-replay in mod_auth_digest in Apache Software Foundation
Get an email when Apache publishes the next one.
See Apache's last 90 days first. Live alerts for one product are free for life; every vendor is US$15 a month after a free month.