CVE-2025-59951

CRITICAL CVSS 4.0: 9.2 EPSS 4.94%
Updated Oct 12, 2026
Termix
Parameter Value
CVSS 9.2 (CRITICAL)
Affected Versions 0.1.1 — 1.6.0
Fixed In 1.6.0
Type CWE-348, CWE-284 (Improper Access Control), CWE-345 (Insufficient Verification of Data)
Vendor Termix
Public PoC No

Termix is a web-based server management platform with SSH terminal, tunneling, and file editing capabilities. The official Docker image for Termix versions 1.5.0 and below, due to being configured with an Nginx reverse proxy, causes the backend to retrieve the proxy's IP instead of the client's IP when using the req.ip method. This results in isLocalhost always returning True.

Consequently, the /ssh/db/host/internal endpoint can be accessed directly without login or authentication. This endpoint records the system's stored SSH host information, including addresses, usernames, and passwords, posing an extremely high security risk. Users who use the official Termix docker image, build their own image using the official dockerfile, or utilize reverse proxy functionality will be affected by this vulnerability.

This issue is fixed in version 1.6.0.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v4.0

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Termix Termix
cpe:2.3:a:termix:termix:*:*:*:*:*:*:*:*
0.1.1 <= 1.6.0