Arbitrary file write outside indexed repositories in zzet/gortex write tools
Gortex is an MCP server. Its write_file, edit_file and move_inline tools are meant to work only inside the repositories the server has indexed. That limit does not hold on the write path. The path helper lets an absolute path pass without checking it against an indexed root, and the write handlers never run the symlink guard that the read handlers use. One write_file call with an absolute path writes any file the daemon user can reach, and missing parent folders are created on the way. Writing a shell start file, a git hook or a service unit gives code execution the next time that file runs. Versions below 0.55.0 are affected. Version 0.55.0 fixes it. CVE-2026-62964 is assigned, and the GitHub user daniel-mertz is credited as reporter.
- Affected artifact
- zzet/gortex — write_file, edit_file and move_inline tools (internal/mcp/tools_fileops.go, tools_move_inline.go)mcp server
- Affected versions
- github.com/zzet/gortex ≥ 0 to < 0.55.0
- Fixed in
- 0.55.0
- Last verified
- 2026-12-06
- Upstream aliases
- GHSA-w42c-h7hr-f67pCVE-2026-62964
Severity
CVSS 4.0 score 7.8 (High), scored by HOL.
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
What this means
GHSA-w42c-h7hr-f67p / CVE-2026-62964: gortex write_file, edit_file and move_inline accept absolute paths outside every indexed repository root, so one call can write a shell start file or git hook and gain code execution. Fixed in 0.55.0; upgrade from any earlier version.
What to do
Upgrade gortex to 0.55.0 or later. On affected versions, do not expose the write tools to untrusted input, and run the daemon under an account that cannot write shell start files, git hooks or service units.
Evidence
Precondition. Ability to get the gortex MCP server, on a version below 0.55.0, to call write_file, edit_file or move_inline with an attacker-chosen path, for example through a prompt-injected agent.
Source proof. Per the advisory, its proof of concept calls the real write handler with an absolute path and the file appears outside every indexed root, and a second write places a line in a home shell start file. HOL did not run the server; this rests on the advisory.
Version determination. Determined by range — The global advisory record states gortex below 0.55.0 is affected, with 0.55.0 as the first patched version.
Disclosure
Disclosure state: independent public · Publisher: zzet/gortex
Naming decision: named. Vendor named as drafted. Finding already public with fix published; naming call sits with this job under Nov 24-25 2026 rules.
Vendor response: fixed — Fix published in 0.55.0.
2026-07-09 · vendor action
Maintainers published advisory GHSA-w42c-h7hr-f67p with the fix in 0.55.0.
2026-12-06 · guard update
Status moved from draft to triaged: Transition to triaged: record is in scope, sources are primary, finding already public and fixed upstream in 0.55.0, CVE-2026-62964 assigned.
2026-12-06 · guard update
Status moved from triaged to evidence_verified: Transition to evidence_verified: record is in scope, sources are primary, finding already public and fixed upstream in 0.55.0, CVE-2026-62964 assigned.
2026-12-06 · disclosure
Status moved from evidence_verified to public: Transition to public: record is in scope, sources are primary, finding already public and fixed upstream in 0.55.0, CVE-2026-62964 assigned.
Affected artifact references
Cite this record
[HOL-VULN-2026-0034] Arbitrary file write outside indexed repositories in zzet/gortex write tools — HOL Agent Vulnerability Ledger, HOL (hol.org), 2026. https://hol.org/guard/security/vulnerabilities/hol-vuln-2026-0034
Canonical URL: https://hol.org/guard/security/vulnerabilities/hol-vuln-2026-0034
Found an error in this record, or want to appeal it? Report an issue or appeal.
Appeal or correct this record
Maintainers and affected parties can submit evidence, dispute the record, or request a correction through the disclosure page. A dispute marks the record visibly disputed — it never silently disappears.