Skip to content
← Blog · · df00tech

CVE-2026-62964: Path Traversal and Repo-Confinement Escape in Gortex MCP Server Enables Arbitrary File Write

vuln-intel go CVE-2026-62964 #checker-reject

What's Happening

CVE-2026-62964 is an arbitrary file write / repository-confinement escape (CWE-22, CWE-73) in the Gortex Go MCP server. The write_file, edit_file, and move_inline MCP tools fail to canonicalize and confine target paths to the declared workspace or repository root. An attacker who can influence MCP tool arguments — for example through prompt injection or a malicious task definition — can supply path traversal sequences (../), absolute paths, or symlink-assisted escapes to write or move files outside the intended repo boundary.

The impact is code execution: writing attacker-controlled content to locations like ~/.ssh/authorized_keys, shell rc files, cron directories, git hooks, or systemd unit files turns an in-scope file operation into a full host compromise.

Affected Software

  • Product: github.com/zzet/gortex (Go)
  • Affected versions: < 0.55.0
  • CVSS: 7.8

Exploitation Status

A public proof-of-concept exists for this vulnerability (disclosed 2026-11-19). No patched version date has been published yet. Because the flaw is reachable via MCP tool arguments that an AI agent may pass through without strict validation, defenders running Gortex-based MCP tooling in agentic or LLM-driven pipelines should treat this as actively exploitable rather than theoretical — prompt injection is a realistic and already-documented delivery path for this class of bug.

How Our Detection Catches It

The detection focuses on three signal types tied to the gortex process:

  • File writes or renames performed by the gortex process that land outside its declared workspace/repository root.
  • Path traversal tokens (../) or absolute/symlink-based path arguments passed into MCP tool calls.
  • Newly created or modified files that are auth-relevant (SSH keys, shell profiles, cron entries, git hooks, systemd units) or that become executable, where the writing process is gortex.

This logic ships across our full SIEM coverage: Microsoft Sentinel (KQL), Splunk (SPL), Elastic (EQL), QRadar (AQL), Sumo Logic, Chronicle (YARA-L), and CrowdStrike (CQL) — so you can deploy it in whichever stack ingests your endpoint and process-execution telemetry.

Full Detection

For the complete KQL/SPL/EQL/AQL queries, investigation guide, and atomic tests, see the CVE-2026-62964 detection page.

Get new detections in your inbox

New ATT&CK coverage plus CISA KEV / CVE detection rules, roughly weekly. No spam, unsubscribe anytime.