{"id":"CVE-2026-62964","summary":"Gortex: Arbitrary file write / repo-confinement escape in `write_file` / `edit_file` / `move_inline` MCP tools → code execution","details":"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.","aliases":["GHSA-w42c-h7hr-f67p"],"modified":"2026-11-18T23:01:05.451302152Z","published":"2026-11-18T21:20:20.308Z","database_specific":{"unresolved_ranges":[{"extracted_events":[{"strategy":"StringRangeExpression","range":[{"fixed":"0.55.0"}],"source":"AFFECTED_FIELD"}]},{"extracted_events":[{"range":[{"fixed":"0.55.0"},{"fixed":"0.55.0"}],"source":"DESCRIPTION"}]}],"cna_assigner":"GitHub_M","cwe_ids":["CWE-22","CWE-73"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62964.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62964.json"},{"type":"FIX","url":"https://github.com/zzet/gortex/commit/5ba2f066dd6dcd726c4e61b74851862dc596d994"},{"type":"WEB","url":"https://github.com/zzet/gortex/releases/tag/v0.55.0"},{"type":"ADVISORY","url":"https://github.com/zzet/gortex/security/advisories/GHSA-w42c-h7hr-f67p"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62964"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/zzet/gortex","events":[{"introduced":"0"},{"fixed":"5ba2f066dd6dcd726c4e61b74851862dc596d994"}],"database_specific":{"extracted_events":[{"range":[{"fixed":"5ba2f066dd6dcd726c4e61b74851862dc596d994"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v0.53.0","v0.52.2","v0.52.1","v0.52.0","v0.51.3","v0.51.2","v0.51.1","v0.51.0","v0.50.0","v0.49.0","v0.48.0","v0.47.0","v0.46.0","v0.45.0","v0.44.1","v0.43.0","v0.42.0","v0.41.0","v0.40.0","v0.39.0","v0.38.0","v0.37.0","v0.36.1","v0.35.3","v0.35.2","v0.35.1","v0.35.0","v0.34.0","v0.33.0","v0.32.0","v0.31.0","v0.30.0","v0.29.0","v0.28.0","v0.27.0","v0.26.0","v0.25.0","v0.24.0","v0.23.3","v0.23.2","v0.23.1","v0.23.0","v0.22.0","v0.21.0","v0.20.3","v0.20.2","v0.20.1","v0.20.0","v0.19.1","v0.19.0","v0.18.2","v0.18.1","v0.18.0","v0.17.0","v0.16.2","v0.16.1","v0.16.0","v0.15.0","v0.14.0","v0.13.0","v0.12.3","v0.12.2","v0.12.1","v0.12.0","pkg/wire/v0.1.0","v0.11.0","v0.10.2","v0.10.1","v0.10.0","v0.9.1","v0.9.0","v0.8.0","v0.7.0","v0.6.1","v0.6.0","v0.5.4","v0.5.3","v0.5.2","v0.5.1","v0.5.0","v0.4.0","v0.3.3","v0.3.2","v0.3.1","v0.3.0","v0.2.1","v0.2.0","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-62964.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}