CVE-2025-58098
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-12-05

Last updated on: 2025-12-08

Assigner: Apache Software Foundation

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-12-05
Last Modified
2025-12-08
Generated
2026-06-16
AI Q&A
2025-12-05
EPSS Evaluated
2026-06-15
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
apache http_server to 2.4.66 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-201 The code transmits data to another actor, but a portion of the data includes sensitive information that should not be accessible to that actor.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability exists in Apache HTTP Server versions 2.4.65 and earlier when Server Side Includes (SSI) are enabled along with mod_cgid (but not mod_cgi). The issue is that the server passes the shell-escaped query string to #exec cmd="..." directives, which can lead to unintended command execution.

Impact Analysis

The vulnerability can allow an attacker to execute arbitrary commands on the server via specially crafted query strings in SSI #exec directives, potentially leading to unauthorized access, data compromise, or server control.

Mitigation Strategies

Upgrade Apache HTTP Server to version 2.4.66 or later, as this version fixes the vulnerability related to Server Side Includes (SSI) and mod_cgid passing shell-escaped query strings to #exec cmd directives.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-58098. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart