CVE-2025-59951: Termix' official Docker image contains an authentication bypass vulnerability
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.
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2025-59951?
CVE-2025-59951 is categorized as a high severity vulnerability due to its potential to expose backend services to unauthorized access.
How do I fix CVE-2025-59951?
To fix CVE-2025-59951, upgrade the Termix server management platform to version 1.5.1 or later, which addresses the underlying configuration issue.
What types of systems are affected by CVE-2025-59951?
CVE-2025-59951 affects Termix versions 1.5.0 and below that use an Nginx reverse proxy configuration.
What impact does CVE-2025-59951 have on my environment?
CVE-2025-59951 may allow attackers to gain access to sensitive backend data by exploiting the misconfigured proxy.
Is there a workaround for CVE-2025-59951?
A temporary workaround for CVE-2025-59951 involves disabling the reverse proxy configuration until the system can be upgraded.