CVE-2025-58098: high-severity vulnerability in Apache HTTP Server
Apache HTTP Server: Server Side Includes adds query string to #exec cmd=...
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. No public exploitation artifact known so far.
Apache HTTP Server with Server Side Includes (SSI) enabled improperly passes user input from the URL query string to shell commands executed via #exec directives, allowing attackers to inject and run arbitrary commands on the server.
CVE-2025-58098 affects Apache HTTP Server versions before 2.4.66 when SSI and mod_cgid are enabled. The vulnerability exists in how query string parameters are shell-escaped and passed to #exec cmd directives, enabling command injection attacks. An attacker can craft malicious query strings to break out of the intended command context and execute arbitrary shell commands with the privileges of the web server process.
In the same product, most dangerous first.