External risk intelligence

HexStrike AI MCP Server Command Injection Vulnerability.

CVE advisorySeverity: CRITICAL (CVSS 9.1)

CVE-2025-35028

The vulnerability exists in an MCP (Model Context Protocol) server. While these are designed to be integrated into AI agent workflows and are typically used internally or within restricted developer environments to connect tools, they can technically be exposed as network services. However, public internet exposure is not a standard or required deployment pattern for this class of technology.

OS Command Injection

Halo Surface Signal: 3 out of 5 — possibly public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

This critical vulnerability allows an attacker to execute commands with root privileges on an affected server. The issue arises from a failure to properly sanitize command-line arguments passed to a specific API endpoint, potentially leading to unauthorized access and control of the server. The main concern is confirming relevance and exposure, as the direct business impact depends on how this technology is integrated and secured within your environment.

  • Unsanitized commands can run with full server control.
  • Understand potential for unauthorized server access.
  • Confirm if this technology is in use and exposed.

Attack Path

How an attacker could exploit the issue

An attacker can target the HexStrike AI MCP server by sending a specially crafted command-line argument to an API endpoint. This argument, starting with a semicolon, bypasses sanitization and allows the attacker to execute arbitrary commands with the server's default privileges, which are typically root. This could lead to a compromise of the server's integrity and confidentiality.

  • Network access required.
  • API endpoint receives malicious input.
  • Server commands execute with root privileges.

Live Threat

Current exploitation, exposure, and threat context

A critical vulnerability in the EnhancedCommandExecutor class could allow an attacker to execute arbitrary commands with root privileges on the HexStrike AI MCP server. This is possible when a command-line argument starting with a semi-colon is sent to an API endpoint, bypassing the server's default argument sanitization.

  • Server commands and root access at risk.
  • Malicious command injection via API endpoint.
  • Unauthorized system control and data access.

Operational Fix

Recommended remediation, mitigation, and detection steps

To address this critical vulnerability, application owners are primarily responsible for identifying instances of the HexStrike AI MCP server within their environment. The first practical step is to locate all deployments, confirm their network reachability and business criticality, and then assign an accountable owner for remediation planning.

  • Application owners should manage this issue.
  • Verify server network exposure and criticality first.
  • Plan remediation and coordinate with vendors.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is the HexStrike AI MCP server?

The HexStrike AI MCP server is a software component utilizing the Model Context Protocol (MCP). It is designed to bridge AI agents with external tools, allowing automated workflows to interact with local system resources or commands. Developers typically use it to grant AI models the ability to execute specific tasks within a structured, often internal or development-focused, environment.

How does CVE-2025-35028 represent a vulnerability?

This CVE involves a weakness categorized as CWE-78, or OS Command Injection. It occurs when an application passes unsanitized user-controlled input directly to a system shell. In this case, the EnhancedCommandExecutor component fails to filter input, allowing an attacker to append unauthorized system commands that the server will execute with its own privileges.

Can any input trigger this command injection?

No. The vulnerability specifically requires input that begins with a semi-colon character. This structure is interpreted by the underlying command shell as a separator, allowing the subsequent malicious commands to be executed. Input that does not follow this specific malformed pattern will not trigger the flaw.

Is my HexStrike AI server at risk?

According to Halo Surface Signal, this software is typically used in restricted developer environments, but the vulnerability is technically network-accessible. You should evaluate if your specific instance is reachable over a network. While it is rarely designed to be internet-facing, any deployment where the API endpoint can be reached by unauthorized parties increases your risk profile.

What should I do if I use this software?

Your first step is to perform an inventory to locate all active HexStrike AI MCP server instances in your infrastructure. Determine if these servers are reachable by untrusted networks and assess the business impact of those specific deployments. Once you have identified them, prioritize coordinating with your development teams to restrict access or plan for remediation.

References