CVE-2025-58098

HIGHCVSS 8.3/10EPSS 1.50%

Last modified

CVE-2025-58098 is a high-severity vulnerability rated 8.3/10 on the CVSS scale. 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.. EPSS estimates a 1.50% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
8.3/10

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L

EPSS Probability
1.50%

71.0th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
ApacheHttp Server< 2.4.66

References

Timeline

Published
Last Modified
Status
Analyzed

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 score of 8.3/10 (HIGH severity). The EPSS model estimates a 1.50% probability of exploitation in the next 30 days.
How do I fix CVE-2025-58098?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2025-58098?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST