CVE-2025-58098

published 5 Dec 2025 · updated 26 Feb 2026

Apache HTTP Server: Server Side Includes adds query string to #exec cmd=...

8.3HighCVSS 8.3EPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 2.4.66.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Apache Software Foundation<2.4.662.4.66

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-58098 severity on Zeptric[![CVE-2025-58098](https://zeptric.io/badge/cve/CVE-2025-58098.svg)](https://zeptric.io/cve/CVE-2025-58098)