Apache HTTP Server: Server Side Includes adds query string to #exec cmd=...
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · High · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and Red Hat. Impact type from CWE-201.
Summary
Apache HTTP Server 2.4.65 and earlier with Server Side Includes (SSI) enabled and mod_cgid (but not mod_cgi) passes the shell-escaped query string to #exec cmd="..." directives. This issue affects Apache HTTP Server before 2.4.66. Users are recommended to upgrade to version 2.4.66, which fixes the issue.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA Apache HTTP Server (Apache Software Foundation) Fixed in 2.4.66
Red Hat 17 advisories
- RHSA-2026:5156 Released 2026-03-19 · Red Hat rating ImportantRed Hat Hardened Images RPM Release
- Red Hat Hardened Images httpd-2.4.66-6.hum1@aarch64, httpd-2.4.66-6.hum1@src, httpd-2.4.66-6.hum1@x86_64 +10
- RHSA-2026:2994 Released 2026-02-23 · Red Hat rating ImportantRed Hat JBoss Core Services Apache HTTP Server 2.4.62 SP3 security update
- Red Hat JBoss Core Services on RHEL 7 Server jbcs-httpd24-apr-util-1.6.3-4.el7jbcs, jbcs-httpd24-apr-util-devel-1.6.3-4.el7jbcs, jbcs-httpd24-apr-util-ldap-1.6.3-4.el7jbcs +31
- Red Hat JBoss Core Services on RHEL 8 jbcs-httpd24-apr-util-1.6.3-4.el8jbcs, jbcs-httpd24-apr-util-devel-1.6.3-4.el8jbcs, jbcs-httpd24-apr-util-ldap-1.6.3-4.el8jbcs +21
- RHSA-2026:2995 Released 2026-02-23 · Red Hat rating ImportantRed Hat JBoss Core Services Apache HTTP Server 2.4.62 SP3 security update
- Red Hat JBoss Core Services 2.4.62.SP3
Show 14 more Red Hat advisories
- RHSA-2026:0171 Released 2026-01-06 · Red Hat rating Importanthttpd security update
- Red Hat Enterprise Linux AppStream EUS (v. 10.0) httpd-2.4.63-1.el10_0.3, httpd-core-2.4.63-1.el10_0.3, httpd-devel-2.4.63-1.el10_0.3 +8
- RHSA-2026:0141 Released 2026-01-06 · Red Hat rating Importanthttpd security update
- Red Hat Enterprise Linux AppStream EUS (v.9.4) httpd-2.4.57-11.el9_4.4, httpd-core-2.4.57-11.el9_4.4, httpd-devel-2.4.57-11.el9_4.4 +8
- RHSA-2026:0139 Released 2026-01-06 · Red Hat rating Importanthttpd security update
- Red Hat Enterprise Linux AppStream E4S (v.9.2) httpd-2.4.53-11.el9_2.14, httpd-core-2.4.53-11.el9_2.14, httpd-devel-2.4.53-11.el9_2.14 +8
- RHSA-2026:0090 Released 2026-01-06 · Red Hat rating Importanthttpd security update
- Red Hat Enterprise Linux AppStream EUS (v.9.6) httpd-2.4.62-4.el9_6.5, httpd-core-2.4.62-4.el9_6.5, httpd-devel-2.4.62-4.el9_6.5 +8
- RHSA-2026:0095 Released 2026-01-06 · Red Hat rating Importanthttpd security update
- Red Hat Enterprise Linux AppStream E4S (v.9.0) httpd-2.4.51-7.el9_0.11, httpd-devel-2.4.51-7.el9_0.11, httpd-filesystem-2.4.51-7.el9_0.11 +7
- RHSA-2026:0075 Released 2026-01-05 · Red Hat rating Importanthttpd security update
- Red Hat Enterprise Linux Server (v. 7 ELS) httpd-2.4.6-99.el7_9.7, httpd-devel-2.4.6-99.el7_9.7, httpd-manual-2.4.6-99.el7_9.7 +3
- Red Hat Enterprise Linux Server Optional (v. 7 ELS) mod_ldap-2.4.6-99.el7_9.7, mod_proxy_html-1:2.4.6-99.el7_9.7
- RHSA-2026:0074 Released 2026-01-05 · Red Hat rating Importanthttpd security update
- Red Hat Enterprise Linux Server -EXTENSION(v. 6 ELS-EXTENSION) httpd-2.2.15-71.el6_10.2, httpd-devel-2.2.15-71.el6_10.2, httpd-manual-2.2.15-71.el6_10.2 +2
- RHSA-2026:0012 Released 2026-01-05 · Red Hat rating Importanthttpd:2.4 security update
- Red Hat Enterprise Linux AppStream E4S (v.8.8) httpd-2.4.37-56.module+el8.8.0+23840+d7e7db80.11.ppc64le::httpd:2.4, httpd-2.4.37-56.module+el8.8.0+23840+d7e7db80.11.src::httpd:2.4, httpd-2.4.37-56.module+el8.8.0+23840+d7e7db80.11.x86_64::httpd:2.4 +20
- Red Hat Enterprise Linux AppStream TUS (v.8.8) httpd-2.4.37-56.module+el8.8.0+23840+d7e7db80.11.src::httpd:2.4, httpd-2.4.37-56.module+el8.8.0+23840+d7e7db80.11.x86_64::httpd:2.4, httpd-devel-2.4.37-56.module+el8.8.0+23840+d7e7db80.11.x86_64::httpd:2.4 +11
- RHSA-2026:0011 Released 2026-01-05 · Red Hat rating Importanthttpd:2.4 security update
- Red Hat Enterprise Linux AppStream AUS (v.8.6) httpd-2.4.37-47.module+el8.6.0+23843+c27a5dc4.12.src::httpd:2.4, httpd-2.4.37-47.module+el8.6.0+23843+c27a5dc4.12.x86_64::httpd:2.4, httpd-devel-2.4.37-47.module+el8.6.0+23843+c27a5dc4.12.x86_64::httpd:2.4 +11
- Red Hat Enterprise Linux AppStream E4S (v.8.6) httpd-2.4.37-47.module+el8.6.0+23843+c27a5dc4.12.aarch64::httpd:2.4, httpd-2.4.37-47.module+el8.6.0+23843+c27a5dc4.12.ppc64le::httpd:2.4, httpd-2.4.37-47.module+el8.6.0+23843+c27a5dc4.12.s390x::httpd:2.4 +38
- Red Hat Enterprise Linux AppStream TUS (v.8.6) httpd-2.4.37-47.module+el8.6.0+23843+c27a5dc4.12.src::httpd:2.4, httpd-2.4.37-47.module+el8.6.0+23843+c27a5dc4.12.x86_64::httpd:2.4, httpd-devel-2.4.37-47.module+el8.6.0+23843+c27a5dc4.12.x86_64::httpd:2.4 +11
- RHSA-2026:0010 Released 2026-01-05 · Red Hat rating Importanthttpd:2.4 security update
- Red Hat Enterprise Linux AppStream AUS (v.8.4) httpd-2.4.37-39.module+el8.4.0+23842+00253415.11.src::httpd:2.4, httpd-2.4.37-39.module+el8.4.0+23842+00253415.11.x86_64::httpd:2.4, httpd-devel-2.4.37-39.module+el8.4.0+23842+00253415.11.x86_64::httpd:2.4 +11
- Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4) httpd-2.4.37-39.module+el8.4.0+23842+00253415.11.src::httpd:2.4, httpd-2.4.37-39.module+el8.4.0+23842+00253415.11.x86_64::httpd:2.4, httpd-devel-2.4.37-39.module+el8.4.0+23842+00253415.11.x86_64::httpd:2.4 +11
- RHSA-2026:0009 Released 2026-01-05 · Red Hat rating Importanthttpd:2.4 security update
- Red Hat Enterprise Linux AppStream AUS (v. 8.2) httpd-2.4.37-21.module+el8.2.0+23841+60fa4803.11.src::httpd:2.4, httpd-2.4.37-21.module+el8.2.0+23841+60fa4803.11.x86_64::httpd:2.4, httpd-devel-2.4.37-21.module+el8.2.0+23841+60fa4803.11.x86_64::httpd:2.4 +11
- RHSA-2025:23919 Released 2025-12-22 · Red Hat rating Importanthttpd security update
- Red Hat Enterprise Linux AppStream (v. 9) httpd-2.4.62-7.el9_7.3, httpd-core-2.4.62-7.el9_7.3, httpd-devel-2.4.62-7.el9_7.3 +8
- RHSA-2025:23932 Released 2025-12-22 · Red Hat rating Importanthttpd security update
- Red Hat Enterprise Linux AppStream (v. 10) httpd-2.4.63-4.el10_1.3, httpd-core-2.4.63-4.el10_1.3, httpd-devel-2.4.63-4.el10_1.3 +8
- RHSA-2025:23732 Released 2025-12-22 · Red Hat rating Importanthttpd:2.4 security update
- Red Hat Enterprise Linux AppStream (v. 8) httpd-2.4.37-65.module+el8.10.0+23815+1b5e1c66.7.aarch64::httpd:2.4, httpd-2.4.37-65.module+el8.10.0+23815+1b5e1c66.7.ppc64le::httpd:2.4, httpd-2.4.37-65.module+el8.10.0+23815+1b5e1c66.7.s390x::httpd:2.4 +38
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Apache HTTP Server 2.4.66
2 records Highest priority Priority MEDIUM 1 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2025-35173 Apache HTTP Server: mod_md (ACME), unintended retry intervalsPriority LOW 33
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | RHSA-2025:23932 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2025:23732 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2025:23919 |
| Red Hat Enterprise Linux AppStream AUS (v. 8.2) | Fixed | RHSA-2026:0009 |
| Red Hat Enterprise Linux AppStream AUS (v.8.4) | Fixed | RHSA-2026:0010 |
| Red Hat Enterprise Linux AppStream AUS (v.8.6) | Fixed | RHSA-2026:0011 |
| Red Hat Enterprise Linux AppStream E4S (v.8.6) | Fixed | RHSA-2026:0011 |
| Red Hat Enterprise Linux AppStream E4S (v.8.8) | Fixed | RHSA-2026:0012 |
| Red Hat Enterprise Linux AppStream E4S (v.9.0) | Fixed | RHSA-2026:0095 |
| Red Hat Enterprise Linux AppStream E4S (v.9.2) | Fixed | RHSA-2026:0139 |
| Red Hat Enterprise Linux AppStream EUS (v. 10.0) | Fixed | RHSA-2026:0171 |
| Red Hat Enterprise Linux AppStream EUS (v.9.4) | Fixed | RHSA-2026:0141 |
| Red Hat Enterprise Linux AppStream EUS (v.9.6) | Fixed | RHSA-2026:0090 |
| Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4) | Fixed | RHSA-2026:0010 |
| Red Hat Enterprise Linux AppStream TUS (v.8.6) | Fixed | RHSA-2026:0011 |
| Red Hat Enterprise Linux AppStream TUS (v.8.8) | Fixed | RHSA-2026:0012 |
| Red Hat Enterprise Linux Server (v. 7 ELS) | Fixed | RHSA-2026:0075 |
| Red Hat Enterprise Linux Server -EXTENSION(v. 6 ELS-EXTENSION) | Fixed | RHSA-2026:0074 |
| Red Hat Enterprise Linux Server Optional (v. 7 ELS) | Fixed | RHSA-2026:0075 |
| Red Hat Hardened Images | Fixed | RHSA-2026:5156 |
| Red Hat JBoss Core Services 2.4.62.SP3 | Fixed | RHSA-2026:2995 |
| Red Hat JBoss Core Services on RHEL 7 Server | Fixed | RHSA-2026:2994 |
| Red Hat JBoss Core Services on RHEL 8 | Fixed | RHSA-2026:2994 |
Not affected: 3 products
- Red Hat Hardened Images
- Red Hat JBoss Core Services on RHEL 7 Server
- Red Hat JBoss Core Services on RHEL 8
Timeline
- 2026-10-02 Threatist record created from CVE-2025-58098
- 2026-10-03 Alias added: GHSA-4m29-g52g-c6qc
- 2026-10-09 Fix available: RHSA-2026:2995 · Red Hat
- 2026-10-16 Fix available: Red Hat JBoss Core Services 2.4.62.SP3 · Red Hat
References
More Apache Http Server vulnerabilities
- TI-2021-18535 Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773) KEVCVSS 3.1CRITICAL 9.8
- TI-2021-18417 Path traversal and file disclosure vulnerability in Apache HTTP Server 2.4.49 KEVCVSS 3.1CRITICAL 9.8
- TI-2024-25716 Apache HTTP Server weakness in mod_rewrite when first segment of substitution matches filesystem path. KEVCVSS 3.1CRITICAL 9.1
- TI-2021-17490 mod_proxy SSRF KEVCVSS 3.1CRITICAL 9.0
- TI-2019-00184 Use after free in Apache HTTP Server KEVCVSS 3.1HIGH 7.8
- TI-2009-03392 The TLS protocol, and the SSL protocol 3.0 and possibly earlier, as used in Microsoft… CVSS 3.1CRITICAL 9.8
Sources
- CVE-2025-58098 · CVE Program
- CVE-2025-58098 · NVD
- FIRST EPSS
- GHSA-4m29-g52g-c6qc · GitHub Advisory Database · CC BY 4.0
- CVE-2025-58098 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences