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

- Severity: Critical 9.2 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 5.36%, higher than 92% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-10-01T21:52:01.232Z
- Modified: 2026-10-12T15:10:00.207Z
- Weaknesses: CWE-284, CWE-345, CWE-348
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- LukeGus Termix: < 1.6.0
- termix termix: from 0.1.1 up to 1.6.0

## Every score

- GitHub_M: CVSS:4.0 9.2 Critical `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: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## 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

- CVE List: [CVE-2025-59951](https://www.cve.org/CVERecord?id=CVE-2025-59951), CVE Terms of Use, modified 2025-10-06
- NVD: [CVE-2025-59951](https://nvd.nist.gov/vuln/detail/CVE-2025-59951), Public domain, modified 2026-10-12

---

Page: https://cve.day/CVE-2025-59951 · Whole record: https://cve.day/CVE-2025-59951.json · Rebuilt by cve.day 2026-11-25T22:59:05.419Z
