CVE-2025-58098
Apache HTTP Server: Server Side Includes adds query string to #exec cmd=...
Severity: High CVSS 8.3. Status in our packages: Fixed.
About CVE-2025-58098
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.
Description quoted from the CVE record at cve.org.
| Published | 2025-12-05 |
|---|---|
| Weakness | CWE-201 Insertion of Sensitive Information Into Sent Data |
| CVSS | High 8.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L (scored by CISA-ADP) |
| Affected upstream | Apache HTTP Server before 2.4.66 |
Our advisory GPSA-2026-0026
GPSA-2026-0026: httpd: 72 security fixes for CentOS 7, including CVE-2024-38475 (opens in a new tab) (Important, issued 2026-12-06).
Status in GetPageSpeed packages
| Product | Status | Fixed in | Details |
|---|---|---|---|
| httpd | Fixed | 2.4.6-107.el7.everpatch1 | GPSA-2026-0026 (opens in a new tab) |
| Apache httpd 2.4.6 (CentOS 7) | Fixed | 2.4.6-106.el7.gps1 Affected upstream: before 2.4.66 | Everpatch httpd |
Check a server for CVE-2025-58098
Everpatch httpd 2.4.6-106.el7.gps1 or later carries the fix. The package changelog names every CVE a build fixes.
rpm -q httpd
rpm -q --changelog httpd | grep -F CVE-2025-58098The httpd package restarts the server on update.
Fixed in the same build
- CVE-2026-28780: Apache HTTP Server: buffer overflow in mod_proxy_ajp via ajp_msg_check_header()
- CVE-2026-24072: Apache HTTP Server: mod_rewrite elevation of privileges via ap_expr
- CVE-2025-65082: Apache HTTP Server: CGI environment variable override
- CVE-2025-49812: Apache HTTP Server: mod_ssl TLS upgrade attack
- CVE-2025-23048: Apache HTTP Server: mod_ssl access control bypass with session resumption
- CVE-2024-47252: Apache HTTP Server: mod_ssl error log variable escaping
Scanner feeds (OVAL, CSAF, OpenVEX), fix-time targets and answers to common questions: the CVE tracker.