CVE Catalog

CVE-2025-59951

CriticalCVSS 9.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Very high risk
4.32%

91th percentile - higher than 91% of all known CVEs

Summary

Termix versions 1.5.0 and below, when using the official Docker image or an Nginx reverse proxy, incorrectly identifies the client IP as the proxy IP, causing isLocalhost to always return True. This makes the /ssh/db/host/internal endpoint accessible without login or authentication, exposing stored SSH host information including addresses, usernames, and passwords.

Risk Assessment

An attacker could gain full access to stored SSH credentials, potentially leading to complete server and infrastructure compromise.

Recommendation

Upgrade Termix to version 1.6.0 or later. If using the Docker image or reverse proxy, ensure the configuration follows the vendor's guidance.

Other vulnerabilities in Termix

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS