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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-2026-5602

CVE-2026-5602: Nor2-io heim-mcp RCE Vulnerability

CVE-2026-5602 is a remote code execution vulnerability in Nor2-io heim-mcp affecting versions up to 0.1.3. This OS command injection flaw allows local attackers to execute arbitrary commands. This article covers technical details, affected versions, impact, and mitigation.

Published: April 10, 2026

CVE-2026-5602 Overview

A command injection vulnerability has been identified in Nor2-io heim-mcp versions up to 0.1.3. The vulnerability exists in the registerTools function within the src/tools.ts file, specifically affecting the new_heim_application/deploy_heim_application/deploy_heim_application_to_cloud component. This flaw allows attackers with local access to inject and execute arbitrary operating system commands through improper input handling.

Critical Impact

Successful exploitation enables attackers to execute arbitrary OS commands on the affected system, potentially leading to complete system compromise, data exfiltration, or further lateral movement within the network.

Affected Products

  • Nor2-io heim-mcp versions up to 0.1.3
  • Systems utilizing the deploy_heim_application_to_cloud component
  • Applications leveraging the affected registerTools function in src/tools.ts

Discovery Timeline

  • 2026-04-05 - CVE CVE-2026-5602 published to NVD
  • 2026-04-07 - Last updated in NVD database

Technical Details for CVE-2026-5602

Vulnerability Analysis

This vulnerability is classified as CWE-77 (Command Injection), which occurs when an application passes unsafe user-supplied data to a system shell. In heim-mcp, the registerTools function in src/tools.ts utilizes the Node.js child_process module's exec function to run shell commands. The exec function spawns a shell and executes the command within that shell, making it susceptible to command injection if user-controlled input is incorporated into the command string without proper sanitization.

The attack requires local access to the system, meaning an attacker would need some level of existing access or the ability to influence input parameters being processed by the vulnerable function. The exploit details have been publicly disclosed, increasing the risk of exploitation in unpatched environments.

Root Cause

The root cause of this vulnerability stems from the use of the exec function from Node.js's child_process module. This function executes commands through a shell interpreter, which parses special characters and allows command chaining. When user-controlled input is concatenated into command strings passed to exec, attackers can break out of the intended command context and inject additional commands using shell metacharacters such as ;, |, &&, or backticks.

Attack Vector

The attack requires local access to the system where heim-mcp is deployed. An attacker with the ability to influence parameters processed by the registerTools function can inject malicious commands that will be executed with the privileges of the heim-mcp process. The attack path involves the new_heim_application/deploy_heim_application/deploy_heim_application_to_cloud functionality, where deployment parameters may be manipulated to include shell metacharacters and malicious payloads.

typescript
// Security patch showing the fix (from src/tools.ts)
 import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
-import { exec } from "child_process";
+import { execFile } from "child_process";
 import { z } from "zod";
 import util from "util";

Source: GitHub Security Patch

The fix replaces exec with execFile, which executes the specified file directly without spawning a shell. This approach treats arguments as literal values rather than shell-interpreted strings, effectively neutralizing command injection attacks.

Detection Methods for CVE-2026-5602

Indicators of Compromise

  • Unusual process spawning from heim-mcp application processes
  • Unexpected shell commands or child processes associated with deployment operations
  • Anomalous system calls or file access patterns during application deployment workflows
  • Log entries showing malformed or suspicious deployment parameters containing shell metacharacters

Detection Strategies

  • Monitor process creation events for unexpected child processes spawned by Node.js applications running heim-mcp
  • Implement input validation logging to capture attempts to inject shell metacharacters in deployment parameters
  • Deploy runtime application self-protection (RASP) solutions to detect command injection attempts
  • Utilize SentinelOne's behavioral AI to identify anomalous command execution patterns

Monitoring Recommendations

  • Enable comprehensive logging for the heim-mcp deployment functionality
  • Monitor for process trees showing shell spawning from the heim-mcp Node.js process
  • Set up alerts for execution of unexpected binaries or scripts during deployment operations
  • Review audit logs for evidence of command chaining characters in application inputs

How to Mitigate CVE-2026-5602

Immediate Actions Required

  • Update heim-mcp to a version containing the security patch (commit c321d8af25f77668781e6ccb43a1336f9185df37 or later)
  • Review deployment logs for any suspicious activity that may indicate prior exploitation attempts
  • Restrict local access to systems running vulnerable heim-mcp versions
  • Implement network segmentation to limit potential lateral movement if compromise has occurred

Patch Information

The vendor has released a security patch addressing this vulnerability. The fix is available in commit c321d8af25f77668781e6ccb43a1336f9185df37. The patch modifies the src/tools.ts file to use execFile instead of exec, which prevents shell interpretation of command arguments. According to the CVE description, the vendor responded professionally and quickly released the fixed version.

For patch details, refer to:

  • GitHub Pull Request #2
  • Security Patch Commit
  • Bug Report and Issue Details

Workarounds

  • Restrict local access to the affected system until patching is complete
  • Implement strict input validation on all parameters passed to deployment functions
  • Consider disabling the deploy_heim_application_to_cloud functionality if not actively required
  • Deploy application-level firewalls or input filtering to sanitize shell metacharacters
bash
# Update heim-mcp to the patched version
cd /path/to/heim-mcp
git fetch origin
git checkout c321d8af25f77668781e6ccb43a1336f9185df37
npm install

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechNor2 Io

  • SeverityMEDIUM

  • CVSS Score4.8

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-77
  • Technical References
  • GitHub Repository for Heim MCP

  • GitHub Commit Log

  • GitHub Issue Tracker

  • GitHub Pull Request

  • Heim MCP Bug Report PDF

  • VulDB Submission Form

  • VulDB Vulnerability Detail

  • VulDB CTI for Vulnerability
  • Latest CVEs
  • CVE-2025-52479: HTTP.jl & URIs.jl CRLF Injection Flaw

  • CVE-2026-31740: Linux Kernel Race Condition Vulnerability

  • CVE-2026-31743: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-31744: Linux Kernel NULL Pointer Vulnerability
Default Legacy - Prefooter | 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