Skip to content
CriticalVulnerability

CVE-2025-35028: HexStrike AI MCP server command injection through API command-line arguments

Identifier
CVE-2025-35028
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
5.5%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

The HexStrike AI MCP server's EnhancedCommandExecutor class exposes an API endpoint that runs composed commands directly. Supplying a command-line argument that starts with a semicolon (;) causes the resulting command to execute in the MCP server's normal privilege context, typically root. The default configuration of the affected version, as of commit 2f3a5512 in September 2025, does not sanitize these arguments.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.