8.3high
Apache HTTP Server: Server Side Includes adds query string to #exec cmd=...
- Severity
- 8.3high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 1.52% (higher than 75% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- BIT-APACHE-2025-58098
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation Apache HTTP Server | before 2.4.66 | CVE List |
| apache http_server | before 2.4.66 | NVD |
| apache (Bitnami) | before 2.4.66 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 8.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
Servidor HTTP Apache 2.4.65 y anteriores con Server Side Includes (SSI) habilitado y mod_cgid (pero no mod_cgi) pasa la cadena de consulta con escape de shell a las directivas #exec cmd='...'. Este problema afecta al Servidor HTTP Apache anterior a 2.4.66. Se recomienda a los usuarios actualizar a la versión 2.4.66, que corrige el problema.
References
| https://httpd.apache.org/security/vulnerabilities_24.html | advisory, mailing-list, vendor-advisory | |
| http://www.openwall.com/lists/oss-security/2025/12/04/5 | advisory, mailing-list, third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-58098 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-58098 changed 2026-02-26 | CVE Terms of Use |
| NVD | CVE-2025-58098 changed 2026-09-25 | Public domain |
| Bitnami Vulnerability Database | BIT-APACHE-2025-58098 changed 2026-09-08 | Apache-2.0 |