Termix
CVE-2026-42454
CRITICAL
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Network-reachable endpoint, trivial injection (AC:L), any authenticated user (PR:L), no interaction; code runs on downstream managed hosts (S:C) giving full C/I/A on those systems.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
3DescriptionCVE.org
Termix is a web-based server management platform with SSH terminal, tunneling, and file editing capabilities. Prior to version 2.1.0, all Docker container management endpoints in Termix interpolate the containerId URL path parameter and WebSocket message field directly into shell commands executed via ssh2.Client.exec() on remote managed servers without any sanitization or validation. An authenticated attacker can inject arbitrary OS commands by crafting a malicious container ID, achieving Remote Code Execution on any managed server. This issue has been patched in version 2.1.0.
AnalysisAI
Remote code execution in Termix (self-hosted web-based server management platform) before version 2.1.0 lets an authenticated user run arbitrary OS commands on any managed remote server. The Docker container-management endpoints pass the attacker-controlled containerId (from the URL path and WebSocket messages) straight into shell commands run over SSH via ssh2.Client.exec() with no sanitization, so a crafted container ID achieves full command injection. Rated CVSS 9.9 with no public exploit identified at time of analysis; EPSS is very low (0.07%) and it is not on CISA KEV.
Technical ContextAI
Termix orchestrates remote servers by opening SSH sessions (node.js ssh2 library) and invoking Docker CLI commands on those hosts. The flaw is a classic CWE-78 OS Command Injection: the containerId value is string-interpolated directly into the shell command string handed to ssh2.Client.exec(), which spawns a shell on the remote host. Because the remote side runs the composed string through a shell rather than executing an argv array, shell metacharacters (;, |, $(), backticks, &&) in the container ID break out of the intended docker command and execute attacker-supplied commands. The CPE cpe:2.3:a:termix-ssh:termix:*:* identifies all versions prior to the 2.1.0 fix as affected.
RemediationAI
Vendor-released patch: upgrade to Termix 2.1.0 or later (release-2.1.0-tag), which adds input sanitization/validation for container identifiers; download the platform build from https://github.com/Termix-SSH/Termix/releases/tag/release-2.1.0-tag and review advisory GHSA-c2g2-hqgq-6w9v. If immediate patching is not possible, treat every Termix account as capable of RCE on managed hosts: restrict Termix access to a minimal set of fully trusted operators, place the web UI behind a VPN or IP allowlist to shrink the authenticated-attacker pool, disable or block use of the Docker container-management feature/endpoints if unused, and reduce the privileges of the SSH credentials Termix uses on managed servers so a successful injection lands with least privilege rather than root. These controls limit blast radius but do not remove the injection, so upgrading remains the only real fix.
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac
Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post
Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten
Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build
Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config
Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per
Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l
Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c
Vasion Print (formerly PrinterLogic) Virtual Appliance Host prior to version 25.2.169 and Application prior to version 2
Same weakness CWE-78 – OS Command Injection
View allShare
External POC / Exploit Code
Leaving vuln.today