---
id: CVE-2025-59951
title: >-
  Termix is a web-based server management platform with SSH terminal, tunneling,
  and file editing capabilities
summary: >-
  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…
severity: critical
cvss: 9.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'
cwe:
  - CWE-284
  - CWE-348
  - CWE-345
vendor: termix
product: termix
affected:
  - 'termix >= 0.1.1, <= 1.6.0'
published: '2025-10-01'
updated: '2026-10-12'
sourceUpdated: '2026-10-12T15:10:00.207'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-59951'
references:
  - url: 'https://github.com/LukeGus/Termix/pull/221'
    label: security-advisories@github.com
  - url: 'https://github.com/LukeGus/Termix/security/advisories/GHSA-92cw-877q-6r94'
    label: security-advisories@github.com
  - url: 'https://github.com/LukeGus/Termix/security/advisories/GHSA-92cw-877q-6r94'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
epss: 0.04322
epssPercentile: 0.9095
ingestedAt: '2026-10-12T15:55:08.068Z'
---

## Overview

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

- `termix >= 0.1.1, <= 1.6.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
