CVE-2025-58098: Apache HTTP Server - Command Injection
- Cve: CVE-2025-58098
- Name: Apache HTTP Server - Command Injection
- 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.
- Impact: Remote attackers can execute arbitrary commands on the server, potentially leading to full system compromise.
- Remediation: Upgrade to version 2.4.66.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
- Epss score: 0.01526
- Epss percentile: 0.75217
- Assignee: [email protected]
- Published at: 2025-12-05T14:15:49Z
- Age in days: 354
- Modified at: 2026-09-25T23:10:00Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-58098
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-201 | Insertion of Sensitive Information Into Sent Data |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/dhmosfunk/CVE-2025-58098 | poc-in-github | 2026-01-12 |
References
| Url | Source | Tags |
|---|---|---|
| https://httpd.apache.org/security/vulnerabilities_24.html | nvd | Mailing List, Vendor Advisory |
| http://www.openwall.com/lists/oss-security/2025/12/04/5 | nvd | Mailing List, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| apache:http_server | < 2.4.66 | no | nvd | /v1/products/apache/http_server |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-01-12
- Remote: yes
- Authentication required: yes
- Exposed hosts: 14964367
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports