CVE-2025-58098: Apache HTTP Server: Server Side Includes adds query string to #exec cmd=...
Vulnerability summary
CVE-2025-58098 is a high (CVSS 8.3) vulnerability in apache software foundation apache http server. EPSS estimates a 1.52% chance of exploitation in the next 30 days, higher than 75.4% of scored vulnerabilities.
Not severe (CVSS 8.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 21 · Related 10Timeline
- 05-12-2025PublishedVulnerability first disclosed.
- 26-02-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · AlpineEcosystem advisory · calculated8.3HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
- OSV · Red hatEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:LDiffers
- OSV · UbuntuEcosystem advisory · calculated8.3HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
- OSV · DebianEcosystem advisory · calculated8.3HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
- NVDNIST8.3HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
EPSS trend
Probability
1.52%
Chance of exploitation in the next 30 days
Percentile
75%
Versus all other CVEs
30-day change
Increase +0.10 pp
From 1.42% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat20 products
- httpd< 0:2.2.15-71.el6_10.2 | < 0:2.4.6-99.el7_9.7 | < 0:2.4.62-4.el9_6.5 | < 0:2.4.51-7.el9_0.11 | < 0:2.4.53-11.el9_2.14 | < 0:2.4.57-11.el9_4.4 | < 0:2.4.63-1.el10_0.3
- httpd-core< 0:2.4.62-4.el9_6.5 | < 0:2.4.53-11.el9_2.14 | < 0:2.4.57-11.el9_4.4 | < 0:2.4.63-1.el10_0.3
- httpd-core-debuginfo< 0:2.4.62-4.el9_6.5 | < 0:2.4.53-11.el9_2.14 | < 0:2.4.57-11.el9_4.4 | < 0:2.4.63-1.el10_0.3
- httpd-debuginfo< 0:2.2.15-71.el6_10.2 | < 0:2.4.6-99.el7_9.7 | < 0:2.4.62-4.el9_6.5 | < 0:2.4.51-7.el9_0.11 | < 0:2.4.53-11.el9_2.14 | < 0:2.4.57-11.el9_4.4 | < 0:2.4.63-1.el10_0.3
- httpd-debugsource< 0:2.4.62-4.el9_6.5 | < 0:2.4.51-7.el9_0.11 | < 0:2.4.53-11.el9_2.14 | < 0:2.4.57-11.el9_4.4 | < 0:2.4.63-1.el10_0.3
Alpine1 product
- apache2< 2.4.66-r0
Apache1 product
- http_server< 2.4.66
Apache software foundation1 product
- apache http server< 2.4.66
Debian1 product
- apache2< 2.4.66-1~deb12u1 | < 2.4.66-1~deb13u1 | < 2.4.66-1
Ubuntu1 product
- apache2< 2.4.7-1ubuntu4.22+esm12 | < 2.4.18-2ubuntu3.17+esm17 | < 2.4.29-1ubuntu4.27+esm7 | < 2.4.41-4ubuntu3.23+esm3 | < 2.4.52-1ubuntu4.18 | < 2.4.58-1ubuntu8.10 | < 2.4.64-1ubuntu3.2 | < 2.4.66-2ubuntu1
6 vendors · 25 products