CVE-2025-58098

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

State
Published
Severity
8.3 High
Published
Dec 5, 2025
Updated
Feb 26, 2026
Reserved
Aug 22, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.3 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:LCISA-ADP

Weaknesses

  • CWE-201 Insertion of Sensitive Information Into Sent Data

Affected Products

ProductVersions
Apache HTTP ServerApache Software Foundation
  • before 2.4.66Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.