CVE-2025-58098
JSON

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 packageVersionsReported by
Apache Software Foundation Apache HTTP Serverbefore 2.4.66CVE List
apache http_serverbefore 2.4.66NVD
apache (Bitnami)before 2.4.66Bitnami Vulnerability Database

All scores

CISA-ADP8.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
Bitnami Vulnerability Databasehigh rating

Classification

CWE-201

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

Sources

SourceRecordLicence
CVE ListCVE-2025-58098 changed 2026-02-26CVE Terms of Use
NVDCVE-2025-58098 changed 2026-09-25Public domain
Bitnami Vulnerability DatabaseBIT-APACHE-2025-58098 changed 2026-09-08Apache-2.0