Skip to main content
HIGH

CVE-2025-58098

CVSS v3

8.3

HIGH

EPSS Score

1.4 %

exploit probability, as of 2026-10-19

CISA KEV

No

known exploited

Exploitation

—

SSVC status

Get an alert for each new CVE published for apache.

Set up CVE WatchFree account · no credit card

Affected and fixed versions

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • apacheBitnamiall versions · fixed in 2.4.66
  • httpdAlmaLinux:9all versions · fixed in 2.4.62-7.el9_7.3and 8 other packages
  • httpdAlmaLinux:8all versions · fixed in 2.4.37-65.module_el8.10.0+4088+57f011c1.7and 6 other packages
  • httpd-filesystemAlmaLinux:10all versions · fixed in 2.4.63-4.el10_1.3
  • mod_http2AlmaLinux:8all versions · fixed in 1.15.7-10.module_el8.10.0+4044+ea5f78b1.4
  • mod_mdAlmaLinux:8all versions · fixed in 1:2.0.8-8.module_el8.10.0+4088+57f011c1.2
  • mod_sslAlmaLinux:9all versions · fixed in 1:2.4.62-7.el9_7.3and 1 other package
  • mod_sslAlmaLinux:8all versions · fixed in 1:2.4.37-65.module_el8.10.0+4088+57f011c1.7and 1 other package

Vendor advisories

  • CVE-2025-58098 Red Hat Product Security980 products fixed

    httpd: Apache HTTP Server: Server Side Includes adds query string to #exec cmd=...

  • RHSA-2026:5156 Red Hat Product Security13 products fixed

    Red Hat Security Advisory: Red Hat Hardened Images RPM Release

  • RHSA-2026:2994 Red Hat Product Security27 products fixed

    Red Hat Security Advisory: Red Hat JBoss Core Services Apache HTTP Server 2.4.62 SP3 security update

  • RHSA-2026:2995 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat JBoss Core Services Apache HTTP Server 2.4.62 SP3 security update

  • RHSA-2026:0171 Red Hat Product Security75 products fixed

    Red Hat Security Advisory: httpd security update

  • RHSA-2026:0141 Red Hat Product Security75 products fixed

    Red Hat Security Advisory: httpd security update

12 more advisories

Full record on NVD

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.

Technical details

Published
2025-12-05

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.

Is CVE-2025-58098 actively exploited?

Active exploitation of CVE-2025-58098 has not been confirmed. Its EPSS score was 1.4% on 2026-10-19, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2025-58098?

CVE-2025-58098 has a CVSS v3 base score of 8.3 (HIGH severity).

Running apache? Hear about its next vulnerability

CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.

Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month