CVE-2025-58098

Source
https://cve.org/CVERecord?id=CVE-2025-58098
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-58098.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-58098
Aliases
Downstream
ALPINE (1)
AZL (2)
BELL (1)
CLSA (8)
DEBIAN (1)
MGASA (1)
MINI (1)
OESA (5)
openSUSE (3)
RHSA (16)
RLSA (3)
ROOT (1)
SUSE (7)
UBUNTU (1)
Related
Published
2025-12-05T13:40:39Z
Modified
2026-09-23T03:46:27Z
Severity
  • 8.3 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L CVSS Calculator
Summary
Apache HTTP Server: Server Side Includes adds query string to #exec cmd=...
Details

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.

Database specific
{
    "cna_assigner":  "apache",
    "cwe_ids":  [
        "CWE-201"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/58xxx/CVE-2025-58098.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "fixed":  "2.4.66"
                }
            ],
            "source":  "AFFECTED_FIELD"
        },
        {
            "extracted_events":  [
                {
                    "fixed":  "2.4.66"
                }
            ],
            "source":  "DESCRIPTION"
        }
    ]
}
References

Affected packages

Git / github.com/apache/httpd

Affected ranges

Type
GIT
Repo
https://github.com/apache/httpd
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:apache:http_server:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "fixed":  "2.4.66"
        }
    ],
    "source":  "CPE_RANGE"
}

Affected versions

2.*
2.4.66-rc1-candidate

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-58098.json"