{"id":"CVE-2026-62964","aliases":["GHSA-w42c-h7hr-f67p","GO-2026-7003"],"title":"Gortex: Arbitrary file write / repo-confinement escape in `write_file` / `edit_file` / `move_inline` MCP tools → code execution","originalDescription":"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.","severity":{"cvss":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","label":"high"},"exploitation":{"kev":null,"epss":{"score":0.00277,"percentile":0.21511},"exploitDb":null},"affected":[{"ecosystem":"Go","name":"github.com/zzet/gortex","range":"< 0.55.0","fixed":"0.55.0"}],"references":[{"url":"https://github.com/zzet/gortex/security/advisories/GHSA-w42c-h7hr-f67p","type":"x_refsource_CONFIRM"},{"url":"https://github.com/zzet/gortex/commit/5ba2f066dd6dcd726c4e61b74851862dc596d994","type":"x_refsource_MISC"},{"url":"https://github.com/zzet/gortex/releases/tag/v0.55.0","type":"x_refsource_MISC"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62964.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62964","type":"advisory"},{"url":"https://github.com/advisories/GHSA-w42c-h7hr-f67p","type":"other"}],"sources":[{"name":"nvd","at":"2026-11-19T16:50:09.589Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62964","license":"NVD terms of use","firstSeenAt":"2026-11-18T22:32:57.177Z"},{"name":"osv","at":"2026-11-26T00:17:57.226Z","url":"https://osv.dev/vulnerability/CVE-2026-62964","license":"CC-BY 4.0","firstSeenAt":"2026-11-18T23:05:51.704Z"},{"name":"ghsa","at":"2026-12-04T19:58:28.258Z","url":"https://github.com/advisories/GHSA-w42c-h7hr-f67p","license":"CC-BY 4.0","firstSeenAt":"2026-11-19T20:41:25.562Z"},{"name":"cvelistV5","at":"2026-11-19T22:18:20.673Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-62964","license":"CVE Terms of Use","firstSeenAt":"2026-11-18T21:57:23.055Z"}],"firstSeenAt":"2026-11-18T21:57:23.055Z","publishedAt":"2026-11-18T21:20:20.308Z","modifiedAt":"2026-11-25T23:46:08.253Z"}