CVE-2025-59951
Last modified
CVE-2025-59951 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. 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. EPSS estimates a 4.65% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Termix | Termix | >= 0.1.1, <= 1.6.0 |
References
- https://github.com/LukeGus/Termix/pull/221Issue Tracking, Patch
- https://github.com/LukeGus/Termix/security/advisories/GHSA-92cw-877q-6r94Exploit, Vendor Advisory
- https://github.com/LukeGus/Termix/security/advisories/GHSA-92cw-877q-6r94Exploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-59951?
How severe is CVE-2025-59951?
How do I fix CVE-2025-59951?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Same Subject, Wrong User: A Cross-Issuer Account Takeover in n8nStrix found an identity-binding bug in n8n's token-exchange flow enabling account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-59946NanoMQ MQTT Broker (NanoMQ) is an Edge Messaging Platform. P…7.5
- CVE-2025-59947NanoMQ is a messaging broker/bus for IoT Edge & SDV. Version…9
- CVE-2025-59948FreshRSS is a free, self-hostable RSS aggregator. Versions 1…5.4
- CVE-2025-59949FreshRSS is a free, self-hostable RSS aggregator. Versions p…6.5
- CVE-2025-5995Canon EOS Webcam Utility Pro for MAC OS version 2.3d (2.3.29…4.6
- CVE-2025-59950FreshRSS is a free, self-hostable RSS aggregator. In version…5.4
- CVE-2025-59952MinIO Java SDK is a Simple Storage Service (aka S3) client t…8.7
- CVE-2025-59954Knowage is an open source analytics and business intelligenc…9.8
- CVE-2025-59955Coolify is an open-source and self-hostable tool for managin…5.7
- CVE-2025-59956AgentAPI is an HTTP API for Claude Code, Goose, Aider, Gemin…6.5
- CVE-2025-59957An Origin Validation Error vulnerability in an insufficient …7
- CVE-2025-59958An Improper Check for Unusual or Exceptional Conditions vuln…6.9
Are you affected by CVE-2025-59951?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
