CVE-2025-58098

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

Published Dec 5, 2025 CVSS 3.1 · 8.3 High EPSS 1.5% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4452-1 apache2 security update
Ubuntu USN Ubuntu USN USN-7968-1 Apache HTTP Server vulnerabilities
Ubuntu USN Ubuntu USN USN-8338-1 Apache HTTP Server vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:2.3:a:apache:http_server:*:*:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Apache
Apache http Server
Vendors & Products Apache
Apache http Server
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Apache HTTP Server: Server Side Includes adds query string to #exec cmd=...
Weaknesses CWE-201
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Feb 26, 2026, 4:57 PM
Reserved
Aug 22, 2025, 6:38 PM
Status
Analyzed
Published
Dec 5, 2025, 2:15 PM
Modified
Sep 25, 2026, 11:10 PM
Severity
Important
Public date
Dec 5, 2025, 1:40 PM