# CVE-2026-62964: Gortex: Arbitrary file write / repo-confinement escape in `write_file` / `edit_file` / `move_inline` MCP tools → code execution

- Severity: High 7.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-01)
- Published: 2026-11-18T21:20:20.308Z
- Modified: 2026-11-23T20:40:50.943Z
- Also known as: GHSA-w42c-h7hr-f67p, GO-2026-7003
- Weaknesses: CWE-22, CWE-73
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- zzet gortex: < 0.55.0
- github.com/zzet/gortex (Go): before 0.55.0

## Every score

- GitHub_M: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/zzet/gortex/security/advisories/GHSA-w42c-h7hr-f67p> (advisory, web)
- <https://github.com/zzet/gortex/commit/5ba2f066dd6dcd726c4e61b74851862dc596d994> (fix, web)
- <https://github.com/zzet/gortex/releases/tag/v0.55.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-62964> (advisory)
- <https://github.com/zzet/gortex> (package)

## Sources

- CVE List: [CVE-2026-62964](https://www.cve.org/CVERecord?id=CVE-2026-62964), CVE Terms of Use, modified 2026-11-19
- GitHub Advisory Database: [GHSA-w42c-h7hr-f67p](https://github.com/advisories/GHSA-w42c-h7hr-f67p), CC-BY-4.0, modified 2026-11-23
- Go Vulnerability Database: [GO-2026-7003](https://pkg.go.dev/vuln/GO-2026-7003), CC-BY-4.0, modified 2026-11-23
- NVD: [CVE-2026-62964](https://nvd.nist.gov/vuln/detail/CVE-2026-62964), Public domain, modified 2026-11-19

---

Page: https://cve.day/CVE-2026-62964 · Whole record: https://cve.day/CVE-2026-62964.json · Rebuilt by cve.day 2026-11-25T22:59:51.922Z
