VYPR
Critical severity9.0NVD Advisory· Published Jun 5, 2026· Updated Jun 5, 2026

CVE-2026-45750

CVE-2026-45750

Description

Termix File Manager allows command injection via the resolvePath endpoint, enabling arbitrary command execution on SSH sessions.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Termix File Manager allows command injection via the resolvePath endpoint, enabling arbitrary command execution on SSH sessions.

Vulnerability

The Termix File Manager component, specifically the GET /ssh/file_manager/ssh/resolvePath endpoint, is vulnerable to command injection. Prior to version 2.3.2, the path parameter was unsafely processed and embedded into a shell command executed over an active SSH session. The vulnerability exists because only double quotes were escaped, allowing shell command substitution syntax like $(...) to be interpreted by the remote shell [2]. This affects all versions prior to 2.3.2.

Exploitation

An attacker needs to be authenticated to Termix and have access to the File Manager. The attacker sends a crafted GET request to the /ssh/file_manager/ssh/resolvePath endpoint, including a malicious payload in the path parameter, such as x$(id). If the attacker can also exploit a separate Broken Access Control issue related to sessionId, they can redirect the command execution to another user's active SSH session by using that user's sessionId [2].

Impact

Successful exploitation allows an authenticated user to execute arbitrary commands on the remote host associated with the SSH session. If the sessionId is also compromised, the impact is amplified, enabling command execution against third-party remote infrastructure within the same Termix instance, affecting other users' sessions [2].

Mitigation

Termix version 2.3.2 addresses this vulnerability. Users should update to version 2.3.2 or later. The release notes for version 2.3.2 mention numerous stability and security patches, including fixes for several security vulnerabilities [1]. No workarounds are specified, and the vulnerability is not listed as actively exploited in the wild.

AI Insight generated on Jun 5, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2
  • Termix SSH/Termixreferences2 versions
    (expand)+ 1 more
    • (no CPE)
    • (no CPE)range: <2.3.2

Patches

0

No patches discovered yet.

Vulnerability mechanics

Root cause

"The application unsafely processes user-controlled input within a shell command."

Attack vector

An authenticated user with access to the File Manager can exploit this vulnerability. The attacker sends a GET request to the `/ssh/file_manager/ssh/resolvePath` endpoint with a crafted `path` parameter. This parameter uses shell command substitution syntax, such as `$(...)`, which is then executed on the remote shell. The vulnerability is triggered because only double quotes are escaped, leaving other shell metacharacters active [ref_id=1].

Affected code

The vulnerability exists in the GET /ssh/file_manager/ssh/resolvePath endpoint within the Termix File Manager component. The affected code constructs a shell command by embedding the user-controlled `path` parameter, after applying only double-quote escaping, into an `echo` command executed via an SSH connection [ref_id=1].

What the fix does

Version 2.3.2 addresses the vulnerability by properly sanitizing the `path` parameter before embedding it into the shell command. The advisory does not provide specific details on the exact sanitization method used in the patch, but it effectively prevents the interpretation of shell command substitution syntax, thereby neutralizing the injection payload [ref_id=1].

Preconditions

  • authThe attacker must be authenticated with access to the File Manager component.
  • inputThe attacker must be able to control the 'path' parameter in a GET request to the /ssh/file_manager/ssh/resolvePath endpoint.

Reproduction

GET /ssh/file_manager/ssh/resolvePath?sessionId=1&path=x%24(id) HTTP/1.1 Host: 192.168.1.26:8080 Referer: http://192.168.1.26:8080/ Cookie: [redacted] Accept: application/json

Observed response: {"resolvedPath":"xuid=0(root) gid=0(root) groups=0(root)"}

Generated on Jun 5, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

2

News mentions

1