Gortex
Monthly
Arbitrary file write outside indexed repository roots in Gortex, an MCP code-intelligence server, affects all versions prior to 0.55.0: a caller able to shape the arguments of the write_file, edit_file, or move_inline tools can create or overwrite any file the daemon user can reach, including ~/.zshrc, ~/.bashrc, .git/hooks/pre-commit, or cron/systemd units, which escalates to host code execution once that file is next triggered. The reporter executed a PoC test through the server's genuine handleWriteFile path showing writes landing outside every indexed repo root, demonstrating the repository-confinement invariant in SECURITY.md is broken on the write path while it is enforced on the read path; there is no CISA KEV listing and no confirmed active exploitation, and a reporter PoC exists but is not confirmed as publicly released working exploit code. Impact concentrates in deployments that expose these write tools to untrusted input - typically a prompt-injected or adversarial LLM agent - and code execution is deferred until the planted startup, hook, or scheduled file fires.
Arbitrary file write outside indexed repository roots in Gortex, an MCP code-intelligence server, affects all versions prior to 0.55.0: a caller able to shape the arguments of the write_file, edit_file, or move_inline tools can create or overwrite any file the daemon user can reach, including ~/.zshrc, ~/.bashrc, .git/hooks/pre-commit, or cron/systemd units, which escalates to host code execution once that file is next triggered. The reporter executed a PoC test through the server's genuine handleWriteFile path showing writes landing outside every indexed repo root, demonstrating the repository-confinement invariant in SECURITY.md is broken on the write path while it is enforced on the read path; there is no CISA KEV listing and no confirmed active exploitation, and a reporter PoC exists but is not confirmed as publicly released working exploit code. Impact concentrates in deployments that expose these write tools to untrusted input - typically a prompt-injected or adversarial LLM agent - and code execution is deferred until the planted startup, hook, or scheduled file fires.