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-42454

CVE-2026-42454: Termix Command Injection RCE Vulnerability

CVE-2026-42454 is a command injection RCE flaw in Termix that allows authenticated attackers to execute arbitrary commands on managed servers. This article covers technical details, affected versions, and mitigation strategies.

Published: May 18, 2026

CVE-2026-42454 Overview

Termix is a web-based server management platform that provides SSH terminal access, tunneling, and file editing capabilities. CVE-2026-42454 is an OS command injection vulnerability [CWE-78] affecting all Termix versions prior to 2.1.0. The Docker container management endpoints interpolate the containerId URL path parameter and WebSocket message field directly into shell commands. These commands execute via ssh2.Client.exec() on remote managed servers without sanitization or validation. An authenticated attacker can inject arbitrary operating system commands by crafting a malicious container ID, achieving remote code execution on any managed server.

Critical Impact

Authenticated attackers can achieve remote code execution on every server managed through Termix by injecting shell metacharacters into the containerId parameter.

Affected Products

  • Termix versions prior to 2.1.0
  • Docker container management endpoints in Termix
  • WebSocket message handlers that process containerId fields

Discovery Timeline

  • 2026-05-08 - CVE-2026-42454 published to NVD
  • 2026-05-12 - Last updated in NVD database

Technical Details for CVE-2026-42454

Vulnerability Analysis

The vulnerability resides in Termix's Docker container management functionality. The application accepts a containerId value from two attacker-controlled sources: URL path parameters in HTTP requests and message fields in WebSocket communications. Termix passes these values directly into shell command strings without applying any input validation or escaping.

The constructed command strings then reach ssh2.Client.exec(), which executes them on remote managed servers over SSH. Because the shell on the remote host parses metacharacters such as ;, &&, |, and backticks, an attacker can append arbitrary commands to legitimate Docker operations. The injected commands run with the privileges of the SSH user configured for that managed server.

Root Cause

The root cause is improper neutralization of special elements used in OS commands [CWE-78]. Termix concatenates untrusted input into shell command strings rather than passing arguments as a parameter array or using strict allowlist validation for container identifiers. Docker container IDs follow a predictable hexadecimal format, but Termix does not enforce this constraint before constructing commands.

Attack Vector

An authenticated user submits a crafted containerId value through either a vulnerable HTTP endpoint or a WebSocket message. The malicious identifier contains shell metacharacters that break out of the intended Docker command context. Termix forwards the injected payload to managed servers over SSH, where the remote shell executes the attacker's commands. The Scope:Changed designation in the CVSS vector reflects that compromise spreads from the Termix host to every downstream managed server.

No verified public exploit code is available. See the GitHub Security Advisory GHSA-c2g2-hqgq-6w9v for additional technical details.

Detection Methods for CVE-2026-42454

Indicators of Compromise

  • HTTP requests to Docker container management endpoints containing shell metacharacters such as ;, |, &, $(), or backticks within the containerId path segment
  • WebSocket frames where the containerId field deviates from the expected 12 or 64 character hexadecimal Docker container ID format
  • Unexpected child processes spawned by SSH sessions originating from the Termix host on managed servers

Detection Strategies

  • Inspect Termix reverse proxy and application logs for non-hexadecimal characters in URL paths referencing container IDs
  • Correlate SSH session activity from the Termix server with unusual command executions such as curl, wget, nc, or shell spawns on managed hosts
  • Alert on outbound network connections from managed servers immediately following Termix Docker management API calls

Monitoring Recommendations

  • Enable verbose audit logging on managed servers and forward authentication and command execution events to a centralized log store
  • Monitor process ancestry on managed hosts for shells launched as descendants of sshd sessions tied to the Termix service account
  • Track WebSocket traffic to Termix and flag messages whose containerId fields contain characters outside [0-9a-f]

How to Mitigate CVE-2026-42454

Immediate Actions Required

  • Upgrade Termix to version 2.1.0 or later, which contains the official patch
  • Restrict network access to the Termix management interface to trusted administrators only
  • Rotate SSH credentials and keys used by Termix to access managed servers, since prior authenticated users may have abused the flaw
  • Review command execution logs on all managed servers for evidence of unexpected activity

Patch Information

The vendor patched this issue in Termix release 2.1.0. The fix addresses the unsafe interpolation of the containerId parameter into shell commands invoked through ssh2.Client.exec(). Administrators should review the GitHub Security Advisory GHSA-c2g2-hqgq-6w9v for upgrade guidance.

Workarounds

  • Disable the Docker container management feature in Termix until upgrading is possible
  • Place Termix behind a web application firewall configured to reject requests containing shell metacharacters in containerId path parameters
  • Limit Termix user accounts to trusted operators and remove any unused or shared credentials
bash
# Upgrade Termix to the patched release
docker pull ghcr.io/termix-ssh/termix:release-2.1.0-tag
docker stop termix && docker rm termix
docker run -d --name termix ghcr.io/termix-ssh/termix:release-2.1.0-tag

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechTermix

  • SeverityCRITICAL

  • CVSS Score9.9

  • EPSS Probability0.08%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-78
  • Technical References
  • GitHub Termix Release 2.1.0

  • GitHub Security Advisory GHSA-c2g2-hqgq-6w9v
  • Related CVEs
  • CVE-2026-42453: Termix Platform RCE Vulnerability

  • CVE-2026-42452: Termix Authentication Bypass Vulnerability

  • CVE-2026-22804: Termix File Manager XSS Vulnerability

  • CVE-2025-59951: Termix Authentication Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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