Skip to content
Heist/ feed
Back to feed
Medium

Termix: Command injection in SSH key deployment verification

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-79761
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 19:32 UTC · Revision 1

Source evidence

Termix: Command injection in SSH key deployment verification

core-osv · Original source

Published 24 Sept 2026, 15:58 UTC

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.

osv:CVE-2026-79761
Complete source record
{
  "id": "359dac65f56b378164cf74cfe9568bd1e25dc4f10349e3e64b8a9c775fc954d9",
  "url": "https://osv.dev/vulnerability/CVE-2026-79761",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Termix: Command injection in SSH key deployment verification",
    "summary": "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.",
    "evidence": "osv:CVE-2026-79761",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-79761",
      "aliases": [
        "CVE-2026-79761",
        "GHSA-p2g3-2xq3-23gx"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/termix-ssh/termix",
              "type": "GIT",
              "events": [
                {
                  "introduced": "a7fa40393d14dbb8ff1cc3b9d29fd7c014efc45a"
                },
                {
                  "fixed": "ddbdd5c437c2296607dfaa4265d6f63fbc1ca92e"
                },
                {
                  "fixed": "fafff94e5e31c3843df06aa08773bbaa879bbede"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "1.7.0"
                      },
                      {
                        "fixed": "2.5.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "ddbdd5c437c2296607dfaa4265d6f63fbc1ca92e"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "fafff94e5e31c3843df06aa08773bbaa879bbede"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "ddbdd5c437c2296607dfaa4265d6f63fbc1ca92e"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "release-2.5.1-tag"
                  }
                ]
              }
            }
          ],
          "versions": [
            "release-2.5.0-tag",
            "release-2.4.1-tag",
            "release-2.4.0-tag",
            "release-2.3.2-tag",
            "release-2.2.1-tag",
            "release-2.2.0-tag",
            "release-2.1.0-tag",
            "release-2.0.0-tag",
            "release-1.11.2-tag",
            "release-1.11.1-tag",
            "release-1.11.0-tag",
            "release-1.10.0-tag",
            "release-1.9.0-tag",
            "release-1.8.0-tag",
            "release-1.7.3-tag",
            "release-1.7.2-tag",
            "release-1.7.1-tag",
            "release-1.7.0-tag"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-79761.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:38.839330229Z",
      "provider": "osv",
      "references": [
        "https://github.com/Termix-SSH/Termix/releases/tag/release-2.5.1-tag",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/79xxx/CVE-2026-79761.json",
        "https://github.com/Termix-SSH/Termix/security/advisories/GHSA-p2g3-2xq3-23gx",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-79761",
        "https://github.com/Termix-SSH/Termix/commit/ddbdd5c437c2296607dfaa4265d6f63fbc1ca92e",
        "https://github.com/Termix-SSH/Termix/commit/fafff94e5e31c3843df06aa08773bbaa879bbede",
        "https://github.com/Termix-SSH/Termix/pull/1067"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-78"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/79xxx/CVE-2026-79761.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-79761",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 506212,
  "published_at": "2026-09-24T15:58:48.927+00:00"
}