CVE-2025-35028CWE-78command-injection

CVE-2025-35028

Critical · published December 1, 2025

CVSS v3.1
9.1
EPSS
5%
Percentile
92.5
In the wild
Unconfirmed
What it is

🚨 A single command-line argument starting with a semicolon can grant an attacker root access to your MCP server! 🔥 This vulnerability is like a restaurant where customers can slip a secret note directly to the chef, asking for whatever dish they want, without any checks on the content. Imagine the chaos if someone orders a surprise dish that’s not on the menu! An attacker could exploit this flaw to execute arbitrary commands with root privileges, potentially compromising the entire server and accessing sensitive data. The ramifications could be absolutely devastating, giving attackers free rein to manipulate or destroy critical systems.

Put simply

This vulnerability is like a restaurant where customers can slip a secret note directly to the chef, asking for whatever dish they want, without any checks on the content. Imagine the chaos if someone orders a surprise dish that’s not on the menu! This vulnerability in the HexStrike AI MCP server allows command injection through unsanitized arguments to the EnhancedCommandExecutor API, executing malicious commands as root.

What to do

An attacker could exploit this flaw to execute arbitrary commands with root privileges, potentially compromising the entire server and accessing sensitive data. The ramifications could be absolutely devastating, giving attackers free rein to manipulate or destroy critical systems. To defend against this exploit, immediately patch your HexStrike AI MCP server to the latest version that addresses this issue. Additionally, ensure that command-line arguments are properly sanitized to prevent unauthorized command execution. You've got this! Follow these steps and you'll have your server locked down in no time. 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.05290 · 92.5th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2025-12-01T03:15Z
References (2)
EPSS history
Timeline
  • 30 NOV 21:27Z
    HexStrike AI MCP Server Command Injection
    cvelistv5