Termix
CVE-2026-42452
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain victim password
-
DeliveryPOST to /users/login
-
ExploitReceive pendingTOTP temp_token
-
ExecutionReplay token to protected endpoint
-
PersistMiddleware accepts without TOTP
-
ImpactFull account/session access
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Critical step enforcement
|
| Exploitation Conditions | Exploitation requires a TOTP-enabled Termix account plus knowledge of that account's password: the attacker authenticates the first factor at /users/login to obtain the temp_token JWT, then replays it against regular authenticated endpoints instead of completing the TOTP step. What limits exploitation is that the flaw does not bypass the password - an attacker with no valid credentials gains nothing - and it only affects accounts on which TOTP 2FA is actually enabled, on Termix versions prior to 2.1.0. No TOTP code, user interaction, or non-default configuration is needed beyond having 2FA turned on. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N, base 8.1) reflects a network-reachable, low-complexity attack requiring some privilege (PR:L - the attacker must possess the account password to obtain the temp_token) with high confidentiality and integrity impact and no availability impact. SSVC aligns on Technical Impact: total (full account/session control) but rates Automatable: no, consistent with the very low EPSS score (0.01%, 1st percentile) and the fact that the attacker still needs valid stolen/guessed credentials, making this a targeted rather than mass-exploitable issue. Signals are internally consistent: this is a genuine 2FA-defeating flaw with a public PoC, but not KEV-listed and not wormable - real priority for organizations relying on Termix TOTP as a compensating control (e.g., against password reuse or phishing), lower urgency where passwords are strong and unique. The key caveat is scope: the vulnerability only matters once the first factor (password) is already compromised, so it degrades defense-in-depth rather than granting unauthenticated access. |
| Exploit ScenarioDerived | An attacker who has obtained a Termix user's password (via phishing, reuse, or a prior breach) submits it to /users/login and receives the temporary pendingTOTP JWT that is meant only to gate the TOTP prompt. Instead of completing the second-factor step, the attacker presents this temp_token directly to a protected API endpoint, which the auth middleware accepts, granting full authenticated access to the victim's SSH sessions, tunnels, and files without ever supplying the TOTP code. Public exploit code exists, and the low attack complexity makes this trivial to reproduce once a password is known. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 24, 2026
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.
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.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
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: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
DescriptionCVE.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.
Executive ViewAI
Termix prior to version 2.1.0 contains an authentication bypass allowing attackers who know a user's password to disable TOTP two-factor authentication, collapsing accounts to single-factor authentication. This directly threatens organizations using Termix for SSH web management, enabling account takeover when passwords are compromised and negating their 2FA security investments.
No vendor-released patch identified at time of analysis. Interim controls: restrict Termix web access to approved administrative networks via network firewall or VPN requirement; implement continuous monitoring of /users/login endpoint for suspicious temporary token usage; consider temporary service suspension if web-based SSH management is non-critical; rotate credentials for all Termix-managed SSH accounts as precaution.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Affected Products (CPE)CVE.org
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
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
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-
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB