Skip to main content

Termix CVE-2026-42452

HIGH
Missing Critical Step in Authentication (CWE-304)
2026-05-08 GitHub_M
8.1
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Obtain victim password
  2. Delivery
    POST to /users/login
  3. Exploit
    Receive pendingTOTP temp_token
  4. Execution
    Replay token to protected endpoint
  5. Persist
    Middleware accepts without TOTP
  6. Impact
    Full 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.0% exploitation probability (EPSS)

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

Alert me

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

Vendor (GitHub_M) PRIMARY 8.1 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 8.1 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 99% exploitable
Prevalence
Low
niche open-source self-hosted SSH tool, limited production footprint
Social Media
2
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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

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

cpe:2.3:a:termix-ssh:termix:*:*:*:*:*:*:*:*

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-45748 CRITICAL
9.8 Jun 05

OS command injection in Termix web-based server management platform prior to version 2.3.2 allows remote unauthenticated

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-

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