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.
Severity (CVSS)
| Base score | 7.8 |
|---|---|
| Severity | High |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Provided by | CNA |
Weaknesses
- CWE-73 — CWE-73: External Control of File Name or Path
- CWE-22 — CWE-22: Improper Limitation of a Pathname to a Restricted Directory
Affected products
| Vendor | Product | Versions |
|---|---|---|
| zzet | gortex | < 0.55.0 [affected] |
References
- https://github.com/zzet/gortex/security/advisories/GHSA-w42c-h7hr-f67p (x_refsource_CONFIRM)
- https://github.com/zzet/gortex/commit/5ba2f066dd6dcd726c4e61b74851862dc596d994 (x_refsource_MISC)
- https://github.com/zzet/gortex/releases/tag/v0.55.0 (x_refsource_MISC)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 19 Nov 2026 08:05 UTC.