CVE-2026-62964 Gortex: Arbitrary file write / repo-confinement escape in `write_file` / `edit_file` / `move_inline` MCP tools → code execution
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| zzet gortex(Go) | < 0.55.0 | 0.55.0 | Fixed |
| zzet gortex | = < 0.55.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| zzet gortex | = < 0.55.0 | No fix listed |
| zzet gortex(Go) | < 0.55.0 | 0.55.0 |
References
- https://github.com/zzet/gortex/security/advisories/GHSA-w42c-h7hr-f67p vendor-advisory
- https://github.com/zzet/gortex/commit/5ba2f066dd6dcd726c4e61b74851862dc596d994 patch
- https://github.com/zzet/gortex/releases/tag/v0.55.0
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product
- ENISA EUVD EUVD-2026-129233 third-party-advisory