Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2025-59951

CVE-2025-59951: Termix Authentication Bypass Vulnerability

CVE-2025-59951 is an authentication bypass flaw in Termix that exposes SSH credentials without authentication when using Docker or reverse proxy configurations. This article covers technical details, affected versions, and mitigation.

Published: March 11, 2026

CVE-2025-59951 Overview

CVE-2025-59951 is a critical authentication bypass vulnerability in Termix, a web-based server management platform that provides SSH terminal, tunneling, and file editing capabilities. The vulnerability exists in the official Docker image for Termix versions 1.5.0 and below, where a misconfigured Nginx reverse proxy causes the backend to retrieve the proxy's IP address instead of the client's actual IP when using the req.ip method. This misconfiguration results in the isLocalhost function always returning True, allowing unauthenticated attackers to access sensitive internal endpoints.

Critical Impact

Attackers can directly access the /ssh/db/host/internal endpoint without login or authentication, exposing stored SSH host information including addresses, usernames, and passwords. This poses an extremely high security risk for any organization using the affected Docker configurations.

Affected Products

  • Termix versions 1.5.0 and below (official Docker image)
  • Custom Docker images built using the official Dockerfile
  • Termix deployments utilizing reverse proxy functionality

Discovery Timeline

  • October 1, 2025 - CVE-2025-59951 published to NVD
  • October 20, 2025 - Last updated in NVD database

Technical Details for CVE-2025-59951

Vulnerability Analysis

This vulnerability stems from two distinct weaknesses classified as CWE-284 (Improper Access Control) and CWE-345 (Insufficient Verification of Data Authenticity). When Termix is deployed using the official Docker image or behind an Nginx reverse proxy, the application's access control mechanism relies on the req.ip method to determine the client's IP address for localhost verification. However, due to the reverse proxy configuration, the backend consistently receives the proxy's internal IP address rather than the actual client IP.

The isLocalhost function, designed to restrict access to sensitive internal endpoints, incorrectly evaluates all incoming requests as originating from localhost. This authentication bypass allows remote attackers on the network to access the /ssh/db/host/internal endpoint, which contains sensitive SSH credentials including host addresses, usernames, and passwords stored by the system.

Root Cause

The root cause is improper trust boundary implementation in the Docker and reverse proxy configuration. The Nginx reverse proxy does not properly forward the original client IP address using headers such as X-Forwarded-For or X-Real-IP, and the Termix backend does not validate these headers when determining client origin. This creates a scenario where the application's security controls that depend on IP-based localhost verification are completely bypassed.

Attack Vector

The attack vector is network-based, requiring no authentication, privileges, or user interaction. An attacker can exploit this vulnerability by directly sending HTTP requests to the /ssh/db/host/internal endpoint on an exposed Termix instance. The attack flow involves:

  1. Identifying a Termix instance running with the vulnerable Docker configuration
  2. Sending a direct HTTP request to the /ssh/db/host/internal endpoint
  3. Receiving the complete SSH host database, including credentials, without any authentication challenge

This vulnerability can be exploited remotely by any network-adjacent or internet-facing attacker who can reach the Termix instance.

Detection Methods for CVE-2025-59951

Indicators of Compromise

  • Unusual or unauthorized HTTP requests to the /ssh/db/host/internal endpoint in web server logs
  • Access attempts to internal API endpoints from external IP addresses
  • Unexpected SSH connection attempts to managed hosts using credentials stored in Termix
  • Evidence of credential harvesting or lateral movement within the network

Detection Strategies

  • Monitor web server access logs for requests to /ssh/db/host/internal and other internal endpoints
  • Implement network intrusion detection rules to identify unauthenticated access attempts to Termix management endpoints
  • Enable detailed logging for Termix and review authentication events for anomalies
  • Deploy web application firewall rules to block unauthorized access to internal API paths

Monitoring Recommendations

  • Configure alerts for any access to internal endpoints from non-localhost IP addresses
  • Implement real-time log analysis for Termix and associated Nginx reverse proxy logs
  • Monitor for credential reuse or suspicious SSH connection patterns across managed infrastructure
  • Establish baseline traffic patterns to identify anomalous behavior targeting Termix endpoints

How to Mitigate CVE-2025-59951

Immediate Actions Required

  • Upgrade Termix to version 1.6.0 or later, which contains the fix for this vulnerability
  • Restrict network access to Termix instances to trusted IP ranges only
  • Audit SSH credentials stored in Termix and rotate any potentially compromised credentials
  • Review access logs for evidence of unauthorized endpoint access
  • Consider temporarily taking vulnerable Termix instances offline until patches can be applied

Patch Information

The vulnerability has been fixed in Termix version 1.6.0. Users should upgrade immediately to this version or later. Technical details about the fix are available in the GitHub Pull Request #221 and the GitHub Security Advisory GHSA-92cw-877q-6r94.

Workarounds

  • Configure the Nginx reverse proxy to properly forward client IP addresses using X-Forwarded-For or X-Real-IP headers
  • Implement network-level access controls to restrict access to Termix management interfaces
  • Use firewall rules to block external access to internal API endpoints such as /ssh/db/host/internal
  • Deploy an additional authentication layer in front of Termix instances until the patch can be applied
bash
# Example Nginx configuration to properly forward client IP
# Add to your Nginx reverse proxy configuration
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;

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

  • SeverityCRITICAL

  • CVSS Score9.2

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-284

  • CWE-345
  • Vendor Resources
  • GitHub Pull Request

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

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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