CVE-2026-42454: Termix: OS Command Injection in Docker Container Management Endpoints
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.1.0
Event History
Frequently Asked Questions
What is the severity of CVE-2026-42454?
The severity of CVE-2026-42454 is classified as critical due to the potential for remote command execution.
How do I fix CVE-2026-42454?
To fix CVE-2026-42454, upgrade to Termix version 2.1.0 or later.
What systems are affected by CVE-2026-42454?
CVE-2026-42454 affects all versions of Termix prior to 2.1.0.
What kind of attack does CVE-2026-42454 enable?
CVE-2026-42454 enables OS command injection through vulnerable Docker container management endpoints.
Is there a workaround for CVE-2026-42454?
There is no known workaround for CVE-2026-42454, and upgrading to the fixed version is recommended.