CVE-2025-58098
Apache HTTP Server: Server Side Includes adds query string to #exec cmd=...
8.3
HIGH
CVSS 3.1
EPSS 0.02%
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.
How to fix CVE-2025-58098
To remediate CVE-2025-58098, upgrade the affected package to a fixed version below.
- —upgrade to 2.4.66-r0 or later
- —upgrade to 2.4.66 or later
- —upgrade to 2.4.66-1~deb11u1 or later
Is CVE-2025-58098 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 2.4.66-r0
- from 0, < 2.4.66
- from 0, < 2.4.66-1~deb11u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L |