Skip to content

CVE-2025-59951 Termix' official Docker image contains an authentication bypass vulnerability

CriticalCVSS 9.2 EPSS 4.9%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial
Technology
NginxDocker

Description

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
termix >= 0.1.1, <= 1.6.0 after 1.6.0 Fixed
LukeGus Termix = < 1.6.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
LukeGus Termix = < 1.6.0 No fix listed
termix >= 0.1.1, <= 1.6.0 No fix listed

References