Apache Software Foundation Apache HTTP Server
Apache HTTP Server: Server Side Includes adds query string to #exec cmd=...
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.3high · scored by CISA ADP · CWE-201
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Apache Software Foundation Apache HTTP Server
- < 2.4.66
Fixed in 2.4.66
Mitigation
Upgrade Apache HTTP Server to 2.4.66 or later.
References
- Vendor advisory httpd.apache.org/security/vulnerabilities_24.html
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.1 informational
Informational 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| dhmosfunk/CVE-2025-58098 | 12 Jan 2026 +38 d | 3 | Informational · write-up |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.