# CVE-2025-58098: Apache HTTP Server: Server Side Includes adds query string to \#exec cmd=...

- Priority: **Routine**
- Reason: Not severe (CVSS 8.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-12-05 · Modified: 2026-02-26
- Aliases: ALPINE-CVE-2025-58098, RHSA-2026:0074, RHSA-2026:0075, RHSA-2026:0090, RHSA-2026:0095, RHSA-2026:0139, RHSA-2026:0141, RHSA-2026:0171, UBUNTU-CVE-2025-58098, DEBIAN-CVE-2025-58098
- Record: https://cvemate.com/vulnerability/CVE-2025-58098 · JSON: https://cvemate.com/vulnerability/CVE-2025-58098/json

## Description

```text
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.
```

## Signals

- CVSS: 8.3 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
- EPSS: 1.522%, percentile 75.48%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 25)

- apache software foundation apache http server: \< 2.4.66
- apache http\_server: \< 2.4.66
- alpine apache2 (Alpine Linux): \< 2.4.66-r0
- debian apache2 (Debian): \< 2.4.66-1~deb12u1 \| \< 2.4.66-1~deb13u1 \| \< 2.4.66-1
- ubuntu apache2 (Ubuntu): \< 2.4.7-1ubuntu4.22+esm12 \| \< 2.4.18-2ubuntu3.17+esm17 \| \< 2.4.29-1ubuntu4.27+esm7 \| \< 2.4.41-4ubuntu3.23+esm3 \| \< 2.4.52-1ubuntu4.18 \| \< 2.4.58-1ubuntu8.10 \| \< 2.4.64-1ubuntu3.2 \| \< 2.4.66-2ubuntu1
- redhat httpd (Red Hat): \< 0:2.2.15-71.el6\_10.2 \| \< 0:2.4.6-99.el7\_9.7 \| \< 0:2.4.62-4.el9\_6.5 \| \< 0:2.4.51-7.el9\_0.11 \| \< 0:2.4.53-11.el9\_2.14 \| \< 0:2.4.57-11.el9\_4.4 \| \< 0:2.4.63-1.el10\_0.3
- redhat httpd-core (Red Hat): \< 0:2.4.62-4.el9\_6.5 \| \< 0:2.4.53-11.el9\_2.14 \| \< 0:2.4.57-11.el9\_4.4 \| \< 0:2.4.63-1.el10\_0.3
- redhat httpd-core-debuginfo (Red Hat): \< 0:2.4.62-4.el9\_6.5 \| \< 0:2.4.53-11.el9\_2.14 \| \< 0:2.4.57-11.el9\_4.4 \| \< 0:2.4.63-1.el10\_0.3
- redhat httpd-debuginfo (Red Hat): \< 0:2.2.15-71.el6\_10.2 \| \< 0:2.4.6-99.el7\_9.7 \| \< 0:2.4.62-4.el9\_6.5 \| \< 0:2.4.51-7.el9\_0.11 \| \< 0:2.4.53-11.el9\_2.14 \| \< 0:2.4.57-11.el9\_4.4 \| \< 0:2.4.63-1.el10\_0.3
- redhat httpd-debugsource (Red Hat): \< 0:2.4.62-4.el9\_6.5 \| \< 0:2.4.51-7.el9\_0.11 \| \< 0:2.4.53-11.el9\_2.14 \| \< 0:2.4.57-11.el9\_4.4 \| \< 0:2.4.63-1.el10\_0.3
- redhat httpd-devel (Red Hat): \< 0:2.2.15-71.el6\_10.2 \| \< 0:2.4.6-99.el7\_9.7 \| \< 0:2.4.62-4.el9\_6.5 \| \< 0:2.4.51-7.el9\_0.11 \| \< 0:2.4.53-11.el9\_2.14 \| \< 0:2.4.57-11.el9\_4.4 \| \< 0:2.4.63-1.el10\_0.3
- redhat httpd-filesystem (Red Hat): \< 0:2.4.62-4.el9\_6.5 \| \< 0:2.4.51-7.el9\_0.11 \| \< 0:2.4.53-11.el9\_2.14 \| \< 0:2.4.57-11.el9\_4.4 \| \< 0:2.4.63-1.el10\_0.3
- redhat httpd-manual (Red Hat): \< 0:2.2.15-71.el6\_10.2 \| \< 0:2.4.6-99.el7\_9.7 \| \< 0:2.4.62-4.el9\_6.5 \| \< 0:2.4.51-7.el9\_0.11 \| \< 0:2.4.53-11.el9\_2.14 \| \< 0:2.4.57-11.el9\_4.4 \| \< 0:2.4.63-1.el10\_0.3
- redhat httpd-tools (Red Hat): \< 0:2.2.15-71.el6\_10.2 \| \< 0:2.4.6-99.el7\_9.7 \| \< 0:2.4.62-4.el9\_6.5 \| \< 0:2.4.51-7.el9\_0.11 \| \< 0:2.4.53-11.el9\_2.14 \| \< 0:2.4.57-11.el9\_4.4 \| \< 0:2.4.63-1.el10\_0.3
- redhat httpd-tools-debuginfo (Red Hat): \< 0:2.4.62-4.el9\_6.5 \| \< 0:2.4.51-7.el9\_0.11 \| \< 0:2.4.53-11.el9\_2.14 \| \< 0:2.4.57-11.el9\_4.4 \| \< 0:2.4.63-1.el10\_0.3
- redhat mod\_ldap (Red Hat): \< 0:2.4.6-99.el7\_9.7 \| \< 0:2.4.62-4.el9\_6.5 \| \< 0:2.4.51-7.el9\_0.11 \| \< 0:2.4.53-11.el9\_2.14 \| \< 0:2.4.57-11.el9\_4.4 \| \< 0:2.4.63-1.el10\_0.3
- redhat mod\_ldap-debuginfo (Red Hat): \< 0:2.4.62-4.el9\_6.5 \| \< 0:2.4.51-7.el9\_0.11 \| \< 0:2.4.53-11.el9\_2.14 \| \< 0:2.4.57-11.el9\_4.4 \| \< 0:2.4.63-1.el10\_0.3
- redhat mod\_lua (Red Hat): \< 0:2.4.62-4.el9\_6.5 \| \< 0:2.4.51-7.el9\_0.11 \| \< 0:2.4.53-11.el9\_2.14 \| \< 0:2.4.57-11.el9\_4.4 \| \< 0:2.4.63-1.el10\_0.3
- redhat mod\_lua-debuginfo (Red Hat): \< 0:2.4.62-4.el9\_6.5 \| \< 0:2.4.51-7.el9\_0.11 \| \< 0:2.4.53-11.el9\_2.14 \| \< 0:2.4.57-11.el9\_4.4 \| \< 0:2.4.63-1.el10\_0.3
- redhat mod\_proxy\_html (Red Hat): \< 1:2.4.6-99.el7\_9.7 \| \< 1:2.4.62-4.el9\_6.5 \| \< 1:2.4.51-7.el9\_0.11 \| \< 1:2.4.53-11.el9\_2.14 \| \< 1:2.4.57-11.el9\_4.4 \| \< 1:2.4.63-1.el10\_0.3

## References (first 20 of 27)

- <https://httpd.apache.org/security/vulnerabilities_24.html>
- <http://www.openwall.com/lists/oss-security/2025/12/04/5>
- <https://security.alpinelinux.org/vuln/CVE-2025-58098>
- <https://access.redhat.com/errata/RHSA-2026:0074>
- <https://access.redhat.com/security/updates/classification/#important>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2419365>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_0074.json>
- <https://access.redhat.com/security/cve/CVE-2025-58098>
- <https://www.cve.org/CVERecord?id=CVE-2025-58098>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-58098>
- <https://access.redhat.com/errata/RHSA-2026:0075>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_0075.json>
- <https://access.redhat.com/errata/RHSA-2026:0090>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_0090.json>
- <https://access.redhat.com/errata/RHSA-2026:0095>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_0095.json>
- <https://access.redhat.com/errata/RHSA-2026:0139>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_0139.json>
- <https://access.redhat.com/errata/RHSA-2026:0141>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_0141.json>

---

Data as of 2026-12-05T02:55:10.699Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
