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

Published Dec 4, 2025
·
Updated

802.1X. An authentication issue was addressed with improved state management.

Other sources

Accounts. An authorization issue was addressed with improved state management.

Apple

Admin Framework. A path handling issue was addressed with improved validation.

Apple

Apache HTTP Server 2.4.65 and earlier with Server Side Includes (SSI) enabled and modcgid (but not modcgi) passes the shell-escaped query string to #exec cmd="..." directives.

Launchpad

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

Microsoft

apache. This is a vulnerability in open source code and Apple Software is among the affected projects. The CVE-ID was assigned by a third party. Learn more about the issue and CVE-ID at cve.org.

Apple

Credit

Rosyna Keller(Totally Not Malicious Software), Ryan Dowd@@_rdowd, CVE-2025-55753, CVE-2025-58098, CVE-2025-59775, CVE-2025-65082, CVE-2025-66200, Mickey Jin@@patch1t, an anonymous researcher, Koh M. Nakagawa@@tsunek0h(FFRI Security Inc), Talal Haj Bakry(Mysk Inc), Tommy Mysk@@mysk_co(Mysk Inc), Zhongquan Li@@Guluisacat, Justin Cohen(Google), Jex Amro, Cristian Dinca (icmd.tech), Hossein Lotfi@@hosselot(TrendAI Zero Day Initiative), YingQi Shi@@Mas0nShi(DBAppSecurity's WeBin lab), Mustafa Calap@@ordinal0, dbg.re), Etienne Charron (Renault), Victoria Martini (Renault), Zhongcheng Li(IES Red Team), Andreas Jaegersberger & Ro Achterberg(Nosebeard Labs), Asaf Cohen, CVE-2025-14524, 风沐云烟@@binary_fmyy, Minghao Lin@@Y1nKoc, Jonathan Bar Or@@yo_yo_yo_jbo, DARKNAVY@@DarkNavyOrg, XiguaSec, Ye Zhang(Baidu Security), Ryan Dowd@@_rdowd(Iru), Csaba Fitzl@@theevilbit(Iru), CVE-2025-64505, Joseph Ravichandran@@0xjprx(MIT CSAIL), Gor Aleksanyan(BoB 0xB6), Dhiyanesh Selvaraj@@redroot97(BoB 0xB6), 이동하 (Lee Dong Ha(BoB 0xB6), Jian Lee@@speedyfriend433, hari shanmugam, Johnny Franks@@0xjohnny, Yuebin Sun@@yuebinsun2020(SecuRing), an anonymous researcher(SecuRing), Nathaniel Oh@@calysteon(SecuRing), Kirin@@Pwnrin(SecuRing), Wojciech Regula(SecuRing), Joshua Jewett@@JoshJewett33, Ilya Andr (andrd3v)(RTU MIREA), Ilias Morad (A2nkF)(Voynich Group), Duy Trần@@khanhduytran0, @@hugeBlack, Himanshu Bharti@@Xpl0itme(Khatima), Rodolphe Brunetti@@eisw0lf(Lupus Nova), Matej Moravec@@MacejkoMoravec, Dawuge(Shuffle Team), Hunan University, Gergely Kalman@@gergely_kalman, Andrei Dodu, Morris Richman@@morrisinlife, Kun Peeks@@SwayZGl1tZyyy, Dave G., Gyujeong Jin at Team.0xb6@@G1uN4sh, wdszzml, Atuin Automated Vulnerability Discovery Engine, Alex Radocea, Christian Kohlschütter, Sreejith Krishnan R, @@pixiepointsec, Luke Roberts@@rookuu, Pedro Tôrres@@t0rr3sp3dr0, Caspian Tarafdar, Andrew Becker, webb, Thomas Espach, @@hamayanhamayan, Yeonghyeon Choi, Daniel Rhea, Söhnke Benedikt Fischedick (Tripton), Emrovsky & Switch3301, Yevhen Pervushyn, Minse Kim, Narcis Oliveras Fontàs, Nathaniel Oh@@calysteon, Hongze Wu(Ant Group Infrastructure Security Team), Shuaike Dong(Ant Group Infrastructure Security Team), greenbynox, Arni Hardarson, Gongyu Ma@@Mezone0, Héloïse Gollier, Mathy Vanhoef (KU Leuven), Johnny Franks (zeroxjf), Amy (amys.website), @@cloudlldb, Kirin@@Pwnrin, Chunyu Song(NorthSea)

Affected Software

10 affected componentsFixes available
Apache HTTP Server<2.4.66
Apache HTTP Server<2.4.66
Microsoft cbl2 httpd 2.4.65-1
Microsoft azl3 httpd 2.4.65-1
Apple macOS Sequoia<15.7.5
15.7.5
Apple macOS Sonoma<14.8.5
14.8.5
Apple macOS Tahoe<26.4
26.4
debian/apache2<=2.4.62-1~deb11u1
2.4.67-1~deb11u12.4.67-1~deb12u22.4.67-1~deb13u22.4.67-1
IBM DS8A00( R10.0 - R10.1 )<=10.1.3.0 - 10.11.35.0
IBM DS8900F ( R9.4)<=89.40.83.0-89.44.25.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 15.7.5
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 14.8.5
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 26.4
  4. Upgrade

    Upgrade debian/apache2 to a version that resolves this vulnerability.

    Fixed in 2.4.67-1~deb11u1Fixed in 2.4.67-1~deb12u2Fixed in 2.4.67-1~deb13u2Fixed in 2.4.67-1
  5. Upgrade

    Upgrade apache/httpd to a version that resolves this vulnerability.

    Fixed in 2.4.66
  6. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch CVE-2025-58098

Event History

Dec 5, 2025
CVE Published
via MITRE·01:40 PM
Data Sourced
via MITRE·01:40 PM
DescriptionWeakness
Data Sourced
via Red Hat·02:01 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeaknessAffected Software
Dec 11, 2025
Data Sourced
via Microsoft·01:01 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·01:01 AM
Affected Software
Updated
via Microsoft·01:01 AM
DescriptionSeverity
Mar 24, 2026
Data Sourced
via Apple·12:00 AM
DescriptionWeaknessAffected Software
Updated
via Apple·12:00 AM
DescriptionWeakness
Updated
via Apple·12:00 AM
DescriptionWeaknessAffected Software
Updated
via Apple·12:00 AM
Affected Software
May 28, 2026
Data Sourced
via Ubuntu·06:16 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·06:17 PM
DescriptionAffected Software
Data Sourced
via Launchpad·06:17 PM
Description
Aug 19, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2025-58098?

CVE-2025-58098 is considered a high severity vulnerability in Apache HTTP Server 2.4.65 and earlier.

2

How do I fix CVE-2025-58098?

To mitigate CVE-2025-58098, users should upgrade to Apache HTTP Server version 2.4.66 or later.

3

What versions of Apache HTTP Server are affected by CVE-2025-58098?

CVE-2025-58098 affects Apache HTTP Server 2.4.65 and earlier versions with Server Side Includes enabled.

4

What components are involved in CVE-2025-58098?

CVE-2025-58098 involves the use of mod_cgid with Server Side Includes (SSI) enabled.

5

What issue does CVE-2025-58098 cause?

CVE-2025-58098 allows the shell-escaped query string to be passed to #exec cmd="..." directives, potentially leading to remote code execution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203