Skip to content
HighVulnerability

CVE-2026-62964: Gortex arbitrary file write through MCP file tools

Identifier
CVE-2026-62964
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.

Summary

Gortex, a code-intelligence engine for AI agents and IDEs, prior to 0.55.0 has a flaw in resolveFilePath in internal/mcp/tools_fileops.go, which accepts absolute paths without checking indexed repository roots. The write_file, edit_file, and move_inline tools in internal/mcp/tools_move_inline.go also omit guardSymlinkWithinRepo before reaching AtomicWriteFile, so a caller who can influence MCP tool arguments can create or overwrite files anywhere the daemon user can access, including startup or hook files that run code later, enabling arbitrary host code execution.

Mitigation

Fixed in 0.55.0.