CVE-2026-62964

GHSA-w42c-h7hr-f67p · published 18 Nov 2026 · updated 19 Nov 2026

Gortex: Arbitrary file write / repo-confinement escape in `write_file` / `edit_file` / `move_inline` MCP tools → code execution

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in github.com/zzet/gortex 0.55.0.

Gortex is a high-performance code-intelligence engine for AI agents and integrated development environments. Prior to 0.55.0, resolveFilePath in internal/mcp/tools_fileops.go accepts absolute paths without checking indexed repository roots, while write_file, edit_file, and move_inline in internal/mcp/tools_move_inline.go omit guardSymlinkWithinRepo before reaching AtomicWriteFile and related write sinks. A caller that can influence MCP tool arguments can therefore create or overwrite files anywhere the daemon user can access, including startup or hook files that execute code on a later trigger. The flaw violates Gortex's repository-confinement invariant and can lead to arbitrary host code execution. This issue is fixed in version 0.55.0.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
zzet<0.55.0
go: github.com/zzet/gortex<0.55.00.55.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-62964 severity on Zeptric[![CVE-2026-62964](https://zeptric.io/badge/cve/CVE-2026-62964.svg)](https://zeptric.io/cve/CVE-2026-62964)