9.2critical
Termix' official Docker image contains an authentication bypass vulnerability
- Severity
- 9.2critical CVSS:4.0 by GitHub_M
- Exploit likelihood
- 5.36% (higher than 92% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| LukeGus Termix | < 1.6.0 | CVE List |
| termix termix | from 0.1.1 up to 1.6.0 | NVD |
All scores
| GitHub_M | 9.2critical CVSS:4.0 | 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 |
| NVD | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Classification
What each source says
CVE List
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.
NVD (es)
Termix es una plataforma de gestión de servidores basada en web con capacidades de terminal SSH, tunelización y edición de archivos. La imagen oficial de Docker para las versiones 1.5.0 e inferiores de Termix, debido a estar configurada con un proxy inverso Nginx, hace que el backend recupere la IP del proxy en lugar de la IP del cliente al usar el método req.ip. Esto resulta en que isLocalhost siempre devuelva True. Consecuentemente, el endpoint /ssh/db/host/internal puede ser accedido directamente sin inicio de sesión o autenticación. Este endpoint registra la información de host SSH almacenada del sistema, incluyendo direcciones, nombres de usuario y contraseñas, lo que representa un riesgo de seguridad extremadamente alto. Los usuarios que utilicen la imagen oficial de Docker de Termix, creen su propia imagen usando el dockerfile oficial o utilicen la funcionalidad de proxy inverso se verán afectados por esta vulnerabilidad. Este problema está solucionado en la versión 1.6.0.
References
| https://github.com/LukeGus/Termix/security/advisories/GHSA-92cw-877q-6r94 | exploit, vendor-advisory | |
| https://github.com/LukeGus/Termix/pull/221 | issue-tracking, patch | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-59951 changed 2025-10-06 | CVE Terms of Use |
| NVD | CVE-2025-59951 changed 2026-10-12 | Public domain |