The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-35028

CVE-2025-35028: HexStrike AI MCP Server RCE Vulnerability

CVE-2025-35028 is a remote code execution vulnerability in HexStrike AI MCP Server caused by insufficient input sanitization. Attackers can execute arbitrary commands with root privileges. This article covers technical details, affected versions, impact analysis, and mitigation strategies.

Published: March 18, 2026

CVE-2025-35028 Overview

CVE-2025-35028 is a critical command injection vulnerability in the HexStrike AI MCP server's EnhancedCommandExecutor class. By providing a command-line argument starting with a semicolon (;) to an API endpoint, attackers can execute arbitrary commands in the context of the MCP server's normal privilege level—which is typically root. The vulnerability exists because 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).

Critical Impact

Unauthenticated remote attackers can achieve arbitrary command execution with root privileges on affected HexStrike AI MCP server deployments, leading to complete system compromise.

Affected Products

  • HexStrike AI MCP Server (commit 2f3a5512 and earlier)

Discovery Timeline

  • November 30, 2025 - CVE-2025-35028 published to NVD
  • December 1, 2025 - Last updated in NVD database

Technical Details for CVE-2025-35028

Vulnerability Analysis

This vulnerability is classified as CWE-78 (Improper Neutralization of Special Elements used in an OS Command), commonly known as OS Command Injection. The flaw resides in the EnhancedCommandExecutor class, which constructs shell commands by concatenating user-supplied input without proper sanitization. When an attacker supplies input beginning with a semicolon character, the shell interprets this as a command separator, allowing the injection of arbitrary commands that execute with the server's privilege level.

Since the MCP server typically runs with root privileges, successful exploitation grants attackers complete control over the underlying system. The network-accessible nature of the API endpoint, combined with the lack of authentication requirements, makes this vulnerability particularly severe. An attacker requires no prior access or credentials to exploit this flaw—only network connectivity to the vulnerable endpoint.

Root Cause

The root cause is the absence of input sanitization in the EnhancedCommandExecutor class. When constructing commands from user-provided API arguments, the class directly concatenates input strings without escaping or validating shell metacharacters. The semicolon (;) character acts as a command separator in Unix shells, enabling attackers to terminate the intended command and inject their own malicious commands.

Attack Vector

The attack vector is network-based, requiring no authentication or user interaction. An attacker sends a crafted HTTP request to an API endpoint exposed by the EnhancedCommandExecutor class, with a parameter value beginning with a semicolon followed by arbitrary shell commands. The composed command string is then passed to a shell interpreter, where the semicolon terminates the original command and the injected payload executes with root privileges.

The exploitation flow involves sending a malicious argument such as ; id; cat /etc/shadow to the vulnerable API endpoint. The server constructs a command string that, when executed by the shell, runs both the original intended command (which may fail or produce unexpected output) and the attacker's injected commands with full root access.

Detection Methods for CVE-2025-35028

Indicators of Compromise

  • Unexpected or anomalous HTTP requests to HexStrike AI MCP server API endpoints containing semicolon characters in parameter values
  • Process execution logs showing child processes spawned by the MCP server process that are inconsistent with normal operations
  • Evidence of reconnaissance commands (id, whoami, uname) or data exfiltration attempts (cat /etc/passwd, cat /etc/shadow) in server logs
  • Unexpected network connections originating from the MCP server to external addresses

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block requests containing shell metacharacters (;, |, &, backticks) in API parameters
  • Deploy endpoint detection and response (EDR) solutions to monitor for suspicious child process creation from the MCP server process
  • Enable comprehensive logging of all API requests and implement real-time analysis for command injection patterns
  • Monitor for privilege escalation attempts or unusual file system access patterns originating from the MCP server context

Monitoring Recommendations

  • Configure SIEM alerts for HTTP requests to MCP server endpoints containing shell command separator characters
  • Establish baseline behavior for the MCP server process and alert on deviations such as unexpected network connections or file access
  • Monitor system authentication logs for unauthorized access attempts following potential exploitation
  • Implement network traffic analysis to detect data exfiltration or reverse shell connections originating from the server

How to Mitigate CVE-2025-35028

Immediate Actions Required

  • Restrict network access to the HexStrike AI MCP server to trusted IP addresses only using firewall rules
  • If possible, run the MCP server with reduced privileges instead of root to limit the impact of successful exploitation
  • Implement a reverse proxy or WAF in front of the MCP server to filter malicious requests containing shell metacharacters
  • Review server logs for evidence of exploitation and conduct incident response if compromise indicators are found

Patch Information

No official patch information is currently available. Organizations should monitor the GitHub Issue #115 for updates from the maintainers. Additional technical analysis is available at the TakeOnMe GCVE-1337 Analysis.

Workarounds

  • Deploy network segmentation to isolate the MCP server from critical infrastructure and limit lateral movement potential
  • Implement application-level input validation that rejects or escapes shell metacharacters before they reach the EnhancedCommandExecutor class
  • Consider disabling or restricting access to the affected API endpoints until an official patch is available
  • Run the MCP server in a containerized environment with restricted capabilities to minimize the impact of command execution
bash
# Example: Restrict MCP server network access via iptables
# Allow only trusted management subnet
iptables -A INPUT -p tcp --dport 8080 -s 10.0.0.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 8080 -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechHexstrike

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-78
  • Technical References
  • GitHub Issue #115

  • TakeOnMe GCVE-1337 Analysis
  • Latest CVEs
  • CVE-2026-35467: Browser API Key Information Disclosure

  • CVE-2026-35466: cveInterface.js XSS Vulnerability

  • CVE-2026-30252: ZenShare Suite XSS Vulnerability

  • CVE-2026-30251: ZenShare Suite v17.0 XSS Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English