The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-42452

CVE-2026-42452: Termix Authentication Bypass Vulnerability

CVE-2026-42452 is an authentication bypass flaw in Termix that allows attackers to circumvent two-factor authentication using temporary JWT tokens. This post covers technical details, affected versions, and patches.

Published: May 18, 2026

CVE-2026-42452 Overview

CVE-2026-42452 is an authentication bypass vulnerability in Termix, a web-based server management platform offering SSH terminal, tunneling, and file editing capabilities. Versions prior to 2.1.0 issue a temporary JSON Web Token (JWT) named temp_token through the /users/login endpoint for accounts with Time-based One-Time Password (TOTP) enabled. The token carries a pendingTOTP state intended only for the second-factor verification flow. The authentication middleware incorrectly accepts this token on regular authenticated endpoints, reducing two-factor authentication (2FA) to single-factor password authentication for impacted accounts. The issue is tracked under [CWE-304] and was patched in version 2.1.0.

Critical Impact

Attackers who obtain valid credentials can bypass TOTP-based 2FA entirely and access protected Termix endpoints, gaining full session-level access to SSH terminals, tunnels, and file editing functions.

Affected Products

  • Termix versions prior to 2.1.0
  • Termix deployments with TOTP-enabled user accounts
  • Self-hosted Termix server management instances

Discovery Timeline

  • 2026-05-08 - CVE-2026-42452 published to NVD
  • 2026-05-12 - Last updated in NVD database

Technical Details for CVE-2026-42452

Vulnerability Analysis

The vulnerability resides in the authentication middleware that validates JWTs issued by Termix. When a user with TOTP enabled submits valid credentials to /users/login, the server returns a temp_token containing a pendingTOTP claim. This claim signals that the token is incomplete and only authorizes the user to call the TOTP verification endpoint to obtain a full session token.

The middleware fails to inspect the pendingTOTP state before granting access to protected routes. As a result, the temp_token functions as a fully privileged session token. An attacker who acquires a valid username and password through credential stuffing, phishing, or password reuse can use the returned temp_token directly on any authenticated endpoint, bypassing the TOTP challenge.

Root Cause

The root cause is incomplete validation of the JWT payload during request authorization. The middleware verifies the token signature and expiry but does not enforce the pendingTOTP state restriction. This is classified as Improper Authentication for an Authentic Factor [CWE-304], where one authentication factor is accepted in place of the complete multi-factor flow.

Attack Vector

Exploitation requires network access to a Termix instance and possession of valid account credentials. The attacker authenticates against /users/login with the victim's password. The server returns a temp_token because the account has TOTP enabled. The attacker attaches this temp_token as the Authorization bearer header on subsequent requests to protected endpoints such as SSH session creation, tunnel configuration, or file editing routes. The middleware accepts the token without requiring TOTP completion, granting full account access.

No exploit code is publicly available, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. Refer to the Termix Security Advisory GHSA-vx59-rf9w-9jv8 for upstream technical details.

Detection Methods for CVE-2026-42452

Indicators of Compromise

  • Successful requests to authenticated Termix endpoints using a JWT containing a pendingTOTP: true claim.
  • Absence of corresponding TOTP verification calls between /users/login and access to protected resources for TOTP-enabled accounts.
  • Unexpected SSH session creation, tunnel setup, or file modification events tied to accounts that normally complete a 2FA challenge.

Detection Strategies

  • Decode JWTs in Termix access logs and alert on tokens with pendingTOTP claims used on endpoints other than the TOTP verification route.
  • Correlate /users/login events with subsequent TOTP verification events per session, flagging sessions that skip the verification step.
  • Audit Termix application logs for authenticated activity originating from IP addresses or user agents that diverge from established baselines for 2FA-enabled accounts.

Monitoring Recommendations

  • Enable verbose request logging on the Termix reverse proxy to capture Authorization headers and request paths for forensic review.
  • Monitor outbound SSH connections initiated by the Termix host for anomalous destinations or timing.
  • Track Termix version inventory across the environment to confirm all instances run version 2.1.0 or later.

How to Mitigate CVE-2026-42452

Immediate Actions Required

  • Upgrade all Termix deployments to version 2.1.0 or later, which corrects the middleware to reject temp_token JWTs on non-TOTP endpoints.
  • Rotate credentials for all accounts that may have authenticated to vulnerable Termix versions, particularly those with TOTP enabled.
  • Invalidate all existing JWTs and require users to reauthenticate after the upgrade.
  • Review Termix audit logs for unauthorized SSH sessions, tunnels, or file edits performed since deployment of an affected version.

Patch Information

The vulnerability is patched in Termix release 2.1.0. The fix updates the authentication middleware to reject tokens carrying the pendingTOTP state on any endpoint other than the TOTP verification route. Patch details are available in the Termix 2.1.0 Release Notes and the GitHub Security Advisory.

Workarounds

  • If immediate upgrade is not feasible, disable TOTP on user accounts and rely on strong password policies combined with network-level access controls until the patch can be applied.
  • Restrict access to the Termix web interface using a reverse proxy that enforces additional authentication, such as mutual TLS or an identity-aware proxy.
  • Place Termix behind a VPN or zero-trust network access gateway to reduce exposure to credential-based attacks.
bash
# Configuration example: verify Termix version and upgrade via Docker
docker pull ghcr.io/termix-ssh/termix:2.1.0
docker stop termix && docker rm termix
docker run -d --name termix \
  -p 8080:8080 \
  -v /opt/termix/data:/app/data \
  ghcr.io/termix-ssh/termix:2.1.0

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechTermix

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-304
  • Technical References
  • GitHub Release Notes

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2025-59951: Termix Authentication Bypass Vulnerability

  • CVE-2026-42453: Termix Platform RCE Vulnerability

  • CVE-2026-42454: Termix Command Injection RCE Vulnerability

  • CVE-2026-22804: Termix File Manager XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English