Termix
CVE-2026-42452
HIGH
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Attacker must know the account password to obtain the temp_token (PR:L), attack is network-borne and low-complexity, and account takeover yields high confidentiality and integrity impact with no direct availability loss.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
3DescriptionCVE.org
Termix is a web-based server management platform with SSH terminal, tunneling, and file editing capabilities. Prior to version 2.1.0, /users/login issues a temporary JWT (temp_token) for TOTP-enabled accounts. That token carries a pendingTOTP state and should only be valid for the second-factor flow. However, the auth middleware accepts this token on regular authenticated endpoints. This effectively turns 2FA into single-factor (password) for impacted accounts. This issue has been patched in version 2.1.0.
AnalysisAI
Authentication bypass in Termix (self-hosted SSH web management platform) before version 2.1.0 lets an attacker who knows only a victim's password bypass TOTP two-factor authentication. The /users/login endpoint issues a temporary JWT (temp_token) carrying a pendingTOTP state that should only unlock the second-factor step, but the auth middleware wrongly accepts this token on fully authenticated endpoints, collapsing 2FA into single-factor password authentication for every TOTP-enabled account. Publicly available exploit code exists (SSVC exploitation: poc), though EPSS probability is very low (0.01%, 1st percentile) and there is no evidence of active exploitation.
Technical ContextAI
Termix is a web-based server management platform providing SSH terminal, tunneling, and file-editing features, deployed as a self-hosted desktop/server application (cpe:2.3:a:termix-ssh:termix). The flaw is a token-state authorization failure rooted in CWE-304 (Missing Critical Step in Authentication). Termix's login flow implements 2FA by first validating the password and, for TOTP-enabled accounts, returning a short-lived temp_token JWT that encodes a pendingTOTP flag; the intended design is that this token only authorizes the TOTP-verification call and is exchanged for a full session token after the correct one-time code is submitted. Because the JWT-verifying auth middleware does not check the pendingTOTP claim, it treats the interim token as a valid session credential on regular protected endpoints, so the mandatory second-factor step is never enforced.
RemediationAI
Vendor-released patch: 2.1.0 - upgrade all Termix installations to release-2.1.0-tag (https://github.com/Termix-SSH/Termix/releases/tag/release-2.1.0-tag), which corrects the auth middleware so temp_tokens carrying pendingTOTP are rejected on authenticated endpoints, per advisory GHSA-vx59-rf9w-9jv8 (https://github.com/Termix-SSH/Termix/security/advisories/GHSA-vx59-rf9w-9jv8). Until the upgrade is applied, treat the password as the only effective factor: enforce strong, unique passwords and, where possible, restrict access to the Termix web interface behind a VPN or IP allowlist and place it behind a reverse proxy so the login/API endpoints are not directly internet-exposed - the trade-off is added network friction and no protection against an insider or an attacker who is already inside the trusted network. Consider forcing a credential/session reset after patching, since pre-patch sessions may have been established without a real second factor.
Docker default credentials in Termix server management. PoC and patch available.
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
OS command injection in Termix web-based server management platform prior to version 2.3.2 allows remote unauthenticated
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
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
Same weakness CWE-304 – Missing Critical Step in Authentication
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today