CVE-2025-35028
JSON

9.1critical

HexStrike AI MCP Server Command Injection

Severity
9.1critical CVSS:3.1 by AHA
Exploit likelihood
5.48% (higher than 92% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
AHA

Description

By providing a command-line argument starting with a semi-colon ; to an API endpoint created by the EnhancedCommandExecutor class of the HexStrike AI MCP server, the resultant composed command is executed directly in the context of the MCP server’s normal privilege; typically, this is root. There is no attempt to sanitize these arguments in the default configuration of this MCP server at the affected version (as of commit 2f3a5512 in September of 2025).

Affected

Product or packageVersionsReported by
0x4m4 HexStrike AI33267047667b9accfbf0fdac1c1c7ff12f3a5512CVE List

Classification

CWE-78

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.

What each source says

CVE List

By providing a command-line argument starting with a semi-colon ; to an API endpoint created by the EnhancedCommandExecutor class of the HexStrike AI MCP server, the resultant composed command is executed directly in the context of the MCP server’s normal privilege; typically, this is root. There is no attempt to sanitize these arguments in the default configuration of this MCP server at the affected version (as of commit 2f3a5512 in September of 2025).

NVD (es)

Al proporcionar un argumento de línea de comandos que comienza con un punto y coma ; a un endpoint de API creado por la clase EnhancedCommandExecutor del servidor HexStrike AI MCP, el comando compuesto resultante se ejecuta directamente en el contexto del privilegio normal del servidor MCP; típicamente, este es root. No hay ningún intento de sanear estos argumentos en la configuración predeterminada de este servidor MCP en la versión afectada (a partir del commit 2f3a5512 en septiembre de 2025).

References

Sources

SourceRecordLicence
CVE ListCVE-2025-35028 changed 2025-12-01CVE Terms of Use
NVDCVE-2025-35028 changed 2026-10-18Public domain