CVE-2026-62964
HIGH 7.8CVSS 3.1Gortex: Arbitrary file write / repo-confinement escape in `write_file` / `edit_file` / `move_inline` MCP tools → code execution
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.
- Published
- 18 Nov 2026
- Last modified
- 23 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Received
- Weakness
- CWE-22CWE-73
- Also known as
- GHSA-w42c-h7hr-f67pGO-2026-7003
- Sources
- NVDJSONCVE ListJSONOSV GHSA-w42c-h7hr-f67pJSONOSV GO-2026-7003JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| CVE List | GitHub_M | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: total |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | zzet | gortex | = < 0.55.0 | |
| OSV | Go | github.com/zzet/gortex | < 0.55.0 | 0.55.0 |
References
- https://github.com/zzet/gortex/commit/5ba2f066dd6dcd726c4e61b74851862dc596d994 · x_refsource_MISC, WEB, FIX
- https://github.com/zzet/gortex/releases/tag/v0.55.0 · x_refsource_MISC, WEB
- https://github.com/zzet/gortex/security/advisories/GHSA-w42c-h7hr-f67p · x_refsource_CONFIRM, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-62964 · ADVISORY
- https://github.com/zzet/gortex · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 23 Nov 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 Nov 2026)
- 25 Nov 2026 20:11 UTC · CVE List: first stored (published 18 Nov 2026)
- 25 Nov 2026 20:10 UTC · NVD: first stored (published 18 Nov 2026)