CVE-2025-58098

CVE-2025-58098 is a high-severity vulnerability in Apache Http Server with a CVSS 3.x base score of 8.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-201.

Key facts

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.

Frequently asked questions

What is CVE-2025-58098?
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.
How severe is CVE-2025-58098?
CVE-2025-58098 has a CVSS 3.x base score of 8.3, rated high severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability low.
Is CVE-2025-58098 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (72nd percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2025-58098?
CVE-2025-58098 affects Apache Http Server. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2025-58098?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
Does CVE-2025-58098 have an EU (EUVD) identifier?
Yes. CVE-2025-58098 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-201408.
When was CVE-2025-58098 published?
CVE-2025-58098 was published on 2025-12-05 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Apache Http Server

All CVEs affecting Apache Http Server →

Other CWE-201 vulnerabilities

Browse all CWE-201 vulnerabilities →

Threat intelligence

Threat-intel indicators referencing this CVE: