CVE-2026-45748: Termix OS command injection in SSH tunnel connection

CVE-2026-45748 · Severity: critical · CVSS 9.8 · Published 2026-06-05

Termix is a web-based platform used by administrators to manage servers through SSH terminals and file editing. A security flaw allows an attacker to inject malicious commands into the system's tunnel configuration. If exploited, this could allow an attacker to take full control of the server hosting the Termix application, potentially leading to data theft, service disruption, or unauthorized access to other connected infrastructure.

Technologies: Termix-SSH Termix. Vendors: Termix-SSH.

Quick answers

Is CVE-2026-45748 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-45748 being exploited in the wild.
How severe is CVE-2026-45748?
Critical severity, with a CVSS score of 9.8, published 5 June 2026.
Which products and versions are affected?
Termix-SSH Termix < 2.3.2.
Is there a fix for CVE-2026-45748?
A patch was published on 2026-06-04: Version 2.3.2 released Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-45748 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2026-45748?
Check whether you run Termix-SSH Termix at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

An OS command injection vulnerability exists in the `POST /ssh/tunnel/connect` endpoint of Termix. The application constructs shell commands for SSH tunneling by directly interpolating user-provided fields—including `endpointIP`, `endpointUsername`, and `password`—without proper escaping or sanitization. Specifically, the backend uses string interpolation to build a command string for `sshpass` and `ssh` which is then executed via `conn.exec()`. An attacker can provide malicious input (e.g., shell metacharacters in the IP field) to break out of the intended command and execute arbitrary code on the source SSH host. This vulnerability can be made persistent through auto-start tunnel configurations. The issue is resolved in version 2.3.2.

Affected products

  • Termix-SSH Termix < 2.3.2

Timeline

  • 2026-05-31: advisory: GitHub Security Advisory published
  • 2026-06-04: patched: Version 2.3.2 released
  • 2026-06-05: disclosed: CVE published to NVD

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.