Apache HTTP Server up to 2.4.65 mod_cgid command injection

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.4 | $5k-$25k | 0.00 |
Summary
A vulnerability was found in Apache HTTP Server up to 2.4.65. It has been rated as critical. This vulnerability affects unknown code of the component mod_cgid. The manipulation leads to command injection. This vulnerability is documented as CVE-2025-58098. The attack can be initiated remotely. There is not any exploit available. Upgrading the affected component is advised.
Details
A vulnerability, which was classified as critical, has been found in Apache HTTP Server up to 2.4.65. This issue affects an unknown function of the component mod_cgid. The manipulation with an unknown input leads to a command injection vulnerability. Using CWE to declare the problem leads to CWE-77. The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
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.
It is possible to read the advisory at lists.apache.org. The identification of this vulnerability is CVE-2025-58098. The exploitation is known to be difficult. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. The technical details are unknown and an exploit is not publicly available. The pricing for an exploit might be around USD $5k-$25k at the moment (estimation calculated on 02/04/2026). The attack technique deployed by this issue is T1202 according to MITRE ATT&CK.
The vulnerability scanner Nessus provides a plugin with the ID 277485 (Linux Distros Unpatched Vulnerability : CVE-2025-58098), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 2.4.66 eliminates this vulnerability.
The vulnerability is also documented in the databases at Tenable (277485) and CERT Bund (WID-SEC-2025-2750). Be aware that VulDB is the high quality source for vulnerability data.
Affected
- Debian Linux
- Amazon Linux 2
- Red Hat Enterprise Linux
- Fedora Linux
- Ubuntu Linux
- IBM HTTP Server
- SUSE Linux
- IBM Rational ClearCase
- Oracle Linux
- HCL Commerce
- SUSE openSUSE
- RESF Rocky Linux
- IBM Business Automation Workflow
- Apache HTTP Server
- Microsoft Azure Linux
Product
Type
Vendor
Name
Version
- 2.4.0
- 2.4.1
- 2.4.2
- 2.4.3
- 2.4.4
- 2.4.5
- 2.4.6
- 2.4.7
- 2.4.8
- 2.4.9
- 2.4.10
- 2.4.11
- 2.4.12
- 2.4.13
- 2.4.14
- 2.4.15
- 2.4.16
- 2.4.17
- 2.4.18
- 2.4.19
- 2.4.20
- 2.4.21
- 2.4.22
- 2.4.23
- 2.4.24
- 2.4.25
- 2.4.26
- 2.4.27
- 2.4.28
- 2.4.29
- 2.4.30
- 2.4.31
- 2.4.32
- 2.4.33
- 2.4.34
- 2.4.35
- 2.4.36
- 2.4.37
- 2.4.38
- 2.4.39
- 2.4.40
- 2.4.41
- 2.4.42
- 2.4.43
- 2.4.44
- 2.4.45
- 2.4.46
- 2.4.47
- 2.4.48
- 2.4.49
- 2.4.50
- 2.4.51
- 2.4.52
- 2.4.53
- 2.4.54
- 2.4.55
- 2.4.56
- 2.4.57
- 2.4.58
- 2.4.59
- 2.4.60
- 2.4.61
- 2.4.62
- 2.4.63
- 2.4.64
- 2.4.65
License
Website
- Vendor: https://www.apache.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.6VulDB Meta Temp Score: 5.4
VulDB Base Score: 5.6
VulDB Temp Score: 5.4
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Command injectionCWE: CWE-77 / CWE-74 / CWE-707
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 277485
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-58098
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: HTTP Server 2.4.66
Timeline
12/04/2025 Advisory disclosed12/04/2025 VulDB entry created
02/04/2026 VulDB entry last update
Sources
Vendor: apache.orgAdvisory: lists.apache.org
Status: Confirmed
CVE: CVE-2025-58098 (🔒)
GCVE (CVE): GCVE-0-2025-58098
GCVE (VulDB): GCVE-100-334271
CERT Bund: WID-SEC-2025-2750 - Apache HTTP Server: Mehrere Schwachstellen
Entry
Created: 12/04/2025 15:56Updated: 02/04/2026 19:17
Changes: 12/04/2025 15:56 (51), 12/04/2025 15:59 (2), 12/06/2025 15:38 (1), 12/06/2025 20:34 (2), 12/08/2025 08:48 (7), 12/21/2025 01:35 (1), 12/22/2025 13:41 (1), 12/22/2025 19:12 (1), 01/06/2026 17:52 (1), 01/17/2026 02:40 (1), 02/04/2026 19:17 (1)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.