Arbitrary file write in Gortex MCP file tools allows code execution
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
Gortex before 0.55.0 (zzet gortex and the Go module github.com/zzet/gortex) lets its file-write MCP tools write outside the repository. Absolute paths are not checked against indexed repository roots and symlinks are not guarded, which is a CWE-22 path traversal. A local caller that can influence tool arguments, with user interaction, can create or overwrite files the daemon user can reach, such as startup or hook files that run code later, which leads to arbitrary code execution on the host.
Written with Claude Haiku 5.5 from the sources below · 2026-11-19
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| zzet | gortex | before 0.55.0 | 0.55.0 | Patch available | CNA |
| — | github.com/zzet/gortex (Go) | before 0.55.0 | 0.55.0 | Patch available | GHSA-w42c-h7hr-f67p |
- gortex Vendorzzet Affected before 0.55.0 Fixed in 0.55.0 Patch available CNA
- github.com/zzet/gortex (Go) Vendor— Affected before 0.55.0 Fixed in 0.55.0 Patch available GHSA-w42c-h7hr-f67p
Remediation
Upgrade zzet gortex and the github.com/zzet/gortex Go module to version 0.55.0, which fixes the flaw.
Written with Claude Haiku 5.5 from the sources below · 2026-11-19
- Fix · CNA gortex (zzet) Fixed in 0.55.0
- Fix · GHSA-w42c-h7hr-f67p github.com/zzet/gortex (Go) Fixed in 0.55.0 Advisory →
Timeline
- 2026-11-18 Threatist record created from CVE-2026-62964
- 2026-11-19 CISA SSVC decision points changed
- 2026-11-19 Alias added: GHSA-w42c-h7hr-f67p
- 2026-11-19 Fix available: Go/github.com/zzet/[email protected] · GHSA-w42c-h7hr-f67p
- 2026-11-19 CVSS score added · GHSA-w42c-h7hr-f67p
- 2026-11-19 Weakness changed · GHSA-w42c-h7hr-f67p
- 2026-11-19 5 new references · GHSA-w42c-h7hr-f67p
References
Sources
- CVE-2026-62964 · CVE Program
- CVE-2026-62964 · NVD
- FIRST EPSS
- GHSA-w42c-h7hr-f67p · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences