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 package | Versions | Reported by |
|---|---|---|
| 0x4m4 HexStrike AI | 33267047667b9accfbf0fdac1c1c7ff12f3a5512 | CVE List |
Classification
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
| https://takeonme.org/gcves/GCVE-1337-2025-00000000000000000000000000000000000000000000000000111111111111111111111111000000000000000000000000000000000000000000000000000000011 | exploit, technical-description, third-party-advisory | |
| https://github.com/0x4m4/hexstrike-ai/issues/115 | issue-tracking | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-35028 changed 2025-12-01 | CVE Terms of Use |
| NVD | CVE-2025-35028 changed 2026-10-18 | Public domain |