CVE-2025-58098 json
Apache HTTP Server: Server Side Includes adds query string to #exec cmd=...
published 2025-12-05 11 mo ago modified 2026-09-25 44 d ago also BIT-apache-2025-58098 , EUVD-2025-201408
- cvss
- 8.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 74%
- public exploits
- 0
- none known
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.
Patch / fix
- bitnami apache 2.4.66
- Apache Software Foundation Apache HTTP Server 2.4.66
- apache2 Debian 12 2.4.66-1~deb12u1
- apache2 Debian 13 2.4.66-1~deb13u1
- apache2 Debian 14 2.4.66-1
debian advisories DEBIAN-CVE-2025-58098
- apache2 Ubuntu 22.04 LTS 2.4.52-1ubuntu4.18
- apache2 Ubuntu 24.04 LTS 2.4.58-1ubuntu8.10
- apache2 Ubuntu 25.10 2.4.64-1ubuntu3.2
- apache2 Ubuntu 26.04 LTS 2.4.66-2ubuntu1
- apache2 Ubuntu Pro 14.04 LTS 2.4.7-1ubuntu4.22+esm12
- apache2 Ubuntu Pro 16.04 LTS 2.4.18-2ubuntu3.17+esm17
- apache2 Ubuntu Pro 18.04 LTS 2.4.29-1ubuntu4.27+esm7
- apache2 Ubuntu Pro 20.04 LTS 2.4.41-4ubuntu3.23+esm3
ubuntu advisories UBUNTU-CVE-2025-58098
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- httpd hummingbird 1 2.4.66-6.hum1
- httpd-core hummingbird 1 2.4.66-6.hum1
- httpd-tools hummingbird 1 2.4.66-6.hum1
- httpd-manual hummingbird 1 2.4.66-6.hum1
- httpd-filesystem hummingbird 1 2.4.66-6.hum1
- jbcs-httpd24-curl jboss core services 1 8.11.0-4.el7jbcs
- jbcs-httpd24-httpd jboss core services 1 2.4.62-11.el7jbcs
- jbcs-httpd24-httpd jboss core services 1 2.4.62-11.el8jbcs
red hat advisories RHSA-2026:5156RHSA-2026:2994RHSA-2026:0171RHSA-2026:0141RHSA-2026:0139RHSA-2026:0095
- apache2 SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +5 more 2.4.66-150400.6.57.1
- apache2 SLES for SAP applications 16.0, SLES 16.0 2.4.63-160000.3.1
- apache2-event SLES for SAP applications 16.0, SLES 16.0 2.4.63-160000.3.1
- apache2-utils SLES for SAP applications 16.0, SLES 16.0 2.4.63-160000.3.1
- apache2-manual SLES for SAP applications 16.0, SLES 16.0 2.4.63-160000.3.1
- apache2-worker SLES for SAP applications 16.0, SLES 16.0 2.4.63-160000.3.1
- apache2-prefork SLES for SAP applications 16.0, SLES 16.0 2.4.63-160000.3.1
- apache2 SLES for SAP 15 SP6, SLES 15 SP6-LTSS, openSUSE Leap 15.6 2.4.58-150600.5.41.1
suse advisories SUSE-SU-2026:2686-1SUSE-SU-2026:20081-1SUSE-SU-2026:0020-1SUSE-SU-2026:0019-1SUSE-SU-2025:4518-1SUSE-SU-2025:4488-1
- apache2 openSUSE Leap 16.0 2.4.63-160000.3.1
- apache2-event openSUSE Leap 16.0 2.4.63-160000.3.1
- apache2-utils openSUSE Leap 16.0 2.4.63-160000.3.1
- apache2-manual openSUSE Leap 16.0 2.4.63-160000.3.1
- apache2-worker openSUSE Leap 16.0 2.4.63-160000.3.1
- apache2-prefork openSUSE Leap 16.0 2.4.63-160000.3.1
- apache2 openSUSE Tumbleweed 2.4.66-1.1
opensuse advisories openSUSE-SU-2026:20030-1openSUSE-SU-2025:15808-1
- httpd AlmaLinux 8 2.4.37-65.module_el8.10.0+4088+57f011c1.7
- mod_md AlmaLinux 8 1:2.0.8-8.module_el8.10.0+4088+57f011c1.2
- mod_ssl AlmaLinux 8 1:2.4.37-65.module_el8.10.0+4088+57f011c1.7
- mod_ldap AlmaLinux 8 2.4.37-65.module_el8.10.0+4088+57f011c1.7
- mod_http2 AlmaLinux 8 1.15.7-10.module_el8.10.0+4044+ea5f78b1.4
- httpd-tools AlmaLinux 8 2.4.37-65.module_el8.10.0+4088+57f011c1.7
- mod_session AlmaLinux 8 2.4.37-65.module_el8.10.0+4088+57f011c1.7
- httpd-manual AlmaLinux 8 2.4.37-65.module_el8.10.0+4088+57f011c1.7
almalinux advisories ALSA-2025:23732ALSA-2025:23919ALSA-2025:23932
- httpd Rocky Linux 10 2.4.63-4.el10_1.3
- httpd Rocky Linux 9 2.4.62-7.el9_7.3
- httpd Rocky Linux 8 2.4.37-65.module+el8.10.0+40045+6ce8579b.6
- httpd Rocky Linux 8 2.4.37-65.module+el8.10.0+1830+22f0c9e0
- httpd Rocky Linux 8 2.4.37-65.module+el8.10.0+1842+4a9649e8.2
- httpd Rocky Linux 8 2.4.37-65.module+el8.10.0+1938+3b7755d4.3
- httpd Rocky Linux 8 2.4.37-65.module+el8.10.0+1840+b070a976.1
- httpd Rocky Linux 8 2.4.37-65.module+el8.10.0+2061+8d03fdec.5
rocky linux advisories RLSA-2025:23932RLSA-2025:23919RLSA-2025:23732
- apache2 Alpine 3.24, Alpine 3.23, Alpine 3.22 +2 more 2.4.66-r0
alpine advisories ALPINE-CVE-2025-58098
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- httpd CBL-Mariner 2.0, Azure Linux 3.0 2.4.66-1
azure linux advisories AZL-71860AZL-71867
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-58098 updated cvss 7.1
httpd: Apache HTTP Server: Server Side Includes adds query string to #exec cmd=...
-
Red Hat Enterprise Linux AppStream (v. 8) mod_md 2.0.8-8.module+el8.10.0+23815+1b5e1c66.2, httpd 2.4.37-65.module+el8.10.0+23815+1b5e1c66.7, mod_ssl 2.4.37-65.module+el8.10.0+23815+1b5e1c66.7, mod_ldap 2.4.37-65.module+el8.10.0+23815+1b5e1c66.7, mod_http2 1.15.7-10.module+el8.10.0+23369+11a81384.4, httpd-tools 2.4.37-65.module+el8.10.0+23815+1b5e1c66.7, +4 morefixed: vendor fix RHSA-2025:23732
-
Red Hat Enterprise Linux AppStream (v. 9) httpd 2.4.62-7.el9_7.3, mod_lua 2.4.62-7.el9_7.3, mod_ssl 2.4.62-7.el9_7.3, mod_ldap 2.4.62-7.el9_7.3, httpd-core 2.4.62-7.el9_7.3, httpd-tools 2.4.62-7.el9_7.3, +4 morefixed: vendor fix RHSA-2025:23919
-
Red Hat Enterprise Linux AppStream (v. 10) httpd 2.4.63-4.el10_1.3, mod_lua 2.4.63-4.el10_1.3, mod_ssl 2.4.63-4.el10_1.3, mod_ldap 2.4.63-4.el10_1.3, httpd-core 2.4.63-4.el10_1.3, httpd-tools 2.4.63-4.el10_1.3, +4 morefixed: vendor fix RHSA-2025:23932
-
Red Hat Enterprise Linux AppStream AUS (v. 8.2) mod_md 2.0.8-7.module+el8.2.0+23841+60fa4803.1, httpd 2.4.37-21.module+el8.2.0+23841+60fa4803.11, mod_http2 1.11.3-3.module+el8.2.0+23461+1d03af5c.5, mod_ssl 2.4.37-21.module+el8.2.0+23841+60fa4803.11, mod_ldap 2.4.37-21.module+el8.2.0+23841+60fa4803.11, httpd-tools 2.4.37-21.module+el8.2.0+23841+60fa4803.11, +4 morefixed: vendor fix RHSA-2026:0009
-
Red Hat Enterprise Linux AppStream AUS (v.8.4) mod_md 2.0.8-8.module+el8.4.0+23842+00253415.1, httpd 2.4.37-39.module+el8.4.0+23842+00253415.11, mod_http2 1.15.7-3.module+el8.4.0+23462+1fa78ba3.4, mod_ssl 2.4.37-39.module+el8.4.0+23842+00253415.11, mod_ldap 2.4.37-39.module+el8.4.0+23842+00253415.11, httpd-tools 2.4.37-39.module+el8.4.0+23842+00253415.11, +4 morefixed: vendor fix RHSA-2026:0010
-
Red Hat Enterprise Linux AppStream AUS (v.8.6) mod_md 2.0.8-8.module+el8.6.0+23843+c27a5dc4.1, httpd 2.4.37-47.module+el8.6.0+23843+c27a5dc4.12, mod_http2 1.15.7-5.module+el8.6.0+23463+5d5709c6.4, mod_ssl 2.4.37-47.module+el8.6.0+23843+c27a5dc4.12, mod_ldap 2.4.37-47.module+el8.6.0+23843+c27a5dc4.12, httpd-tools 2.4.37-47.module+el8.6.0+23843+c27a5dc4.12, +4 more Red Hat Enterprise Linux AppStream E4S (v.8.6) mod_md 2.0.8-8.module+el8.6.0+23843+c27a5dc4.1, httpd 2.4.37-47.module+el8.6.0+23843+c27a5dc4.12, mod_http2 1.15.7-5.module+el8.6.0+23463+5d5709c6.4, mod_ssl 2.4.37-47.module+el8.6.0+23843+c27a5dc4.12, mod_ldap 2.4.37-47.module+el8.6.0+23843+c27a5dc4.12, httpd-tools 2.4.37-47.module+el8.6.0+23843+c27a5dc4.12, +4 morefixed: vendor fix RHSA-2026:0011
-
Red Hat Enterprise Linux AppStream E4S (v.8.8) mod_md 2.0.8-8.module+el8.8.0+23840+d7e7db80.1, httpd 2.4.37-56.module+el8.8.0+23840+d7e7db80.11, mod_http2 1.15.7-8.module+el8.8.0+23464+a2e0c444.6, mod_ssl 2.4.37-56.module+el8.8.0+23840+d7e7db80.11, mod_ldap 2.4.37-56.module+el8.8.0+23840+d7e7db80.11, httpd-tools 2.4.37-56.module+el8.8.0+23840+d7e7db80.11, +4 morefixed: vendor fix RHSA-2026:0012
-
Red Hat Enterprise Linux AppStream E4S (v.9.0) httpd 2.4.51-7.el9_0.11, mod_lua 2.4.51-7.el9_0.11, mod_ssl 2.4.51-7.el9_0.11, mod_ldap 2.4.51-7.el9_0.11, httpd-tools 2.4.51-7.el9_0.11, mod_session 2.4.51-7.el9_0.11, +3 morefixed: vendor fix RHSA-2026:0095
show 13 moreshow fewer
-
Red Hat Enterprise Linux AppStream E4S (v.9.2) httpd 2.4.53-11.el9_2.14, mod_lua 2.4.53-11.el9_2.14, mod_ssl 2.4.53-11.el9_2.14, mod_ldap 2.4.53-11.el9_2.14, httpd-core 2.4.53-11.el9_2.14, httpd-tools 2.4.53-11.el9_2.14, +4 morefixed: vendor fix RHSA-2026:0139
-
Red Hat Enterprise Linux AppStream EUS (v. 10.0) httpd 2.4.63-1.el10_0.3, mod_lua 2.4.63-1.el10_0.3, mod_ssl 2.4.63-1.el10_0.3, mod_ldap 2.4.63-1.el10_0.3, httpd-core 2.4.63-1.el10_0.3, httpd-tools 2.4.63-1.el10_0.3, +4 morefixed: vendor fix RHSA-2026:0171
-
Red Hat Enterprise Linux AppStream EUS (v.9.4) httpd 2.4.57-11.el9_4.4, mod_lua 2.4.57-11.el9_4.4, mod_ssl 2.4.57-11.el9_4.4, mod_ldap 2.4.57-11.el9_4.4, httpd-core 2.4.57-11.el9_4.4, httpd-tools 2.4.57-11.el9_4.4, +4 morefixed: vendor fix RHSA-2026:0141
-
Red Hat Enterprise Linux AppStream EUS (v.9.6) httpd 2.4.62-4.el9_6.5, mod_lua 2.4.62-4.el9_6.5, mod_ssl 2.4.62-4.el9_6.5, mod_ldap 2.4.62-4.el9_6.5, httpd-core 2.4.62-4.el9_6.5, httpd-tools 2.4.62-4.el9_6.5, +4 morefixed: vendor fix RHSA-2026:0090
-
Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4) mod_md 2.0.8-8.module+el8.4.0+23842+00253415.1, httpd 2.4.37-39.module+el8.4.0+23842+00253415.11, mod_http2 1.15.7-3.module+el8.4.0+23462+1fa78ba3.4, mod_ssl 2.4.37-39.module+el8.4.0+23842+00253415.11, mod_ldap 2.4.37-39.module+el8.4.0+23842+00253415.11, httpd-tools 2.4.37-39.module+el8.4.0+23842+00253415.11, +4 morefixed: vendor fix RHSA-2026:0010
-
Red Hat Enterprise Linux AppStream TUS (v.8.6) mod_md 2.0.8-8.module+el8.6.0+23843+c27a5dc4.1, httpd 2.4.37-47.module+el8.6.0+23843+c27a5dc4.12, mod_http2 1.15.7-5.module+el8.6.0+23463+5d5709c6.4, mod_ssl 2.4.37-47.module+el8.6.0+23843+c27a5dc4.12, mod_ldap 2.4.37-47.module+el8.6.0+23843+c27a5dc4.12, httpd-tools 2.4.37-47.module+el8.6.0+23843+c27a5dc4.12, +4 morefixed: vendor fix RHSA-2026:0011
-
Red Hat Enterprise Linux AppStream TUS (v.8.8) mod_md 2.0.8-8.module+el8.8.0+23840+d7e7db80.1, httpd 2.4.37-56.module+el8.8.0+23840+d7e7db80.11, mod_http2 1.15.7-8.module+el8.8.0+23464+a2e0c444.6, mod_ssl 2.4.37-56.module+el8.8.0+23840+d7e7db80.11, mod_ldap 2.4.37-56.module+el8.8.0+23840+d7e7db80.11, httpd-tools 2.4.37-56.module+el8.8.0+23840+d7e7db80.11, +4 morefixed: vendor fix RHSA-2026:0012
-
Red Hat Enterprise Linux Server -EXTENSION(v. 6 ELS-EXTENSION) httpd 2.2.15-71.el6_10.2, mod_ssl 2.2.15-71.el6_10.2, httpd-tools 2.2.15-71.el6_10.2, httpd-manual 2.2.15-71.el6_10.2fixed: vendor fix RHSA-2026:0074
-
Red Hat Enterprise Linux Server (v. 7 ELS) httpd 2.4.6-99.el7_9.7, mod_ssl 2.4.6-99.el7_9.7, httpd-tools 2.4.6-99.el7_9.7, mod_session 2.4.6-99.el7_9.7, httpd-manual 2.4.6-99.el7_9.7 Red Hat Enterprise Linux Server Optional (v. 7 ELS) mod_ldap 2.4.6-99.el7_9.7, mod_proxy_html 2.4.6-99.el7_9.7fixed: vendor fix RHSA-2026:0075
-
Red Hat Hardened Images httpd 2.4.66-6.hum1, httpd-core 2.4.66-6.hum1, httpd-tools 2.4.66-6.hum1, httpd-manual 2.4.66-6.hum1, httpd-filesystem 2.4.66-6.hum1fixed: vendor fix RHSA-2026:5156
-
Red Hat JBoss Core Services 2.4.62.SP3fixed: vendor fix RHSA-2026:2995
-
Red Hat JBoss Core Services on RHEL 7 Server jbcs-httpd24-httpd 2.4.62-11.el7jbcs, jbcs-httpd24-mod_ssl 2.4.62-11.el7jbcs, jbcs-httpd24-mod_ldap 2.4.62-11.el7jbcs, jbcs-httpd24-httpd-tools 2.4.62-11.el7jbcs, jbcs-httpd24-mod_session 2.4.62-11.el7jbcs, jbcs-httpd24-httpd-manual 2.4.62-11.el7jbcs, +2 more Red Hat JBoss Core Services on RHEL 8 jbcs-httpd24-httpd 2.4.62-11.el8jbcs, jbcs-httpd24-mod_ssl 2.4.62-11.el8jbcs, jbcs-httpd24-mod_ldap 2.4.62-11.el8jbcs, jbcs-httpd24-httpd-tools 2.4.62-11.el8jbcs, jbcs-httpd24-mod_session 2.4.62-11.el8jbcs, jbcs-httpd24-httpd-manual 2.4.62-11.el8jbcs, +2 morefixed: vendor fix RHSA-2026:2994
-
Red Hat Hardened Images mod_lua 2.4.66-6.hum1, mod_ssl 2.4.66-6.hum1, mod_ldap 2.4.66-6.hum1, mod_session 2.4.66-6.hum1, mod_proxy_html 2.4.66-6.hum1 Red Hat JBoss Core Services on RHEL 7 Server jbcs-httpd24-curl 8.11.0-4.el7jbcs, jbcs-httpd24-apr-util 1.6.3-4.el7jbcs, jbcs-httpd24-libcurl 8.11.0-4.el7jbcs, jbcs-httpd24-mod_md 2.4.28-13.el7jbcs, jbcs-httpd24-openssl 1.1.1k-21.el7jbcs, jbcs-httpd24-mod_http2 2.0.29-8.el7jbcs, +15 more Red Hat JBoss Core Services on RHEL 8 jbcs-httpd24-apr-util 1.6.3-4.el8jbcs, jbcs-httpd24-mod_md 2.4.28-13.el8jbcs, jbcs-httpd24-mod_http2 2.0.29-8.el8jbcs, jbcs-httpd24-apr-util-nss 1.6.3-4.el8jbcs, jbcs-httpd24-apr-util-ldap 1.6.3-4.el8jbcs, jbcs-httpd24-apr-util-odbc 1.6.3-4.el8jbcs, +8 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 9 mo ago
Exploit prediction
1.53% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 8.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L |
| CNA | 3.1 | 8.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L |
| OSV | 3.1 | 8.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | apache | <2.4.66 |
2.4.66 |
Affected products
- Apache Software Foundation Apache HTTP Server
Classification
- Weakness
-
- CWE-201 Insertion of Sensitive Information Into Sent Data
- Technology feeds
References
-
httpd.apache.org
/security/vulnerabilities_24.html
vendor-advisory, mailing-list, advisory
-
openwall.com
/lists/oss-security/2025/12/04/5
mailing-list, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-58098
web
Sources
- CVE List CVE-2025-58098
- NVD CVE-2025-58098
- OSV BIT-apache-2025-58098
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.