CVE-2025-59951

Source
https://cve.org/CVERecord?id=CVE-2025-59951
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-59951.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-59951
Aliases
  • GHSA-92cw-877q-6r94
Published
2025-10-01T21:52:01.232Z
Modified
2026-04-10T05:33:34.205601Z
Severity
  • 9.2 (Critical) CVSS_V4 - 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 CVSS Calculator
Summary
Termix' official Docker image contains an authentication bypass vulnerability
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59951.json",
    "cwe_ids": [
        "CWE-284",
        "CWE-348"
    ],
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/lukegus/termix

Affected ranges

Type
GIT
Repo
https://github.com/lukegus/termix
Events

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-59951.json"