Gortex versions before 0.55.0 can write arbitrary files outside the repository
Start here
A GitHub security advisory discloses a repository-restriction escape vulnerability in Gortex MCP server versions before 0.55.0 (GHSA-w42c-h7hr-f67p / CVE-2026-62964). Gortex exposes the write_file, edit_file, and move_inline tools; its resolveFilePath exempts absolute paths, and the write handler, unlike read_file and get_symbol_source, does not call guardSymlinkWithinRepo, so a single write_file call with an absolute path can write any file writable by the daemon user outside the roots of all indexed repositories. Writing to ~/.zshrc, .git/hooks/pre-commit, or cron/systemd units can execute code at the next shell or commit; these tools are driven by LLM agents, so a prompt-injected agent can trigger this.
Generated by AI from reports · Updated 9 days ago
Attention and developments
Attention, hourly
Now 36, 0% in 24 hours·Peak 36 (Nov 22 21:00)
Progress timeline
- GitHub Security AdvisoriesSelectedGortex MCP server versions before 0.55.0 have an arbitrary file write vulnerability that can escape repository restrictions to execute code
Gortex is an MCP server that exposes the write_file, edit_file, and move_inline tools; versions before 0.55.0 have a repository restriction escape vulnerability (GHSA-w42c-h7hr-f67p / CVE-2026-62964). resolveFilePath exempts absolute paths, and the write handler, unlike read_file and get_symbol_source, does not call guardSymlinkWithinRepo; a single write_file call with an absolute path can write any file writable by the daemon user outside the roots of all indexed repositories; writing to ~/.zshrc, .git/hooks/pre-commit, or cron/systemd units can execute code on the next shell or commit. These tools are driven by LLM agents, so a prompt-injected agent can trigger this.
Related discussion
- Older than 72 hours · Not included in the 72-hour figures
- X@AxoraSecurity4/ Gortex's write tools didn't keep absolute paths inside the repo or check symlinks, per its advisory. So they could w…(opens the original post in a new tab)
Attention trend
New sources per day
- Nov 20: 2 new sources (1 outlets, 1 accounts)
- Nov 21: 0 new sources (0 outlets, 0 accounts)
- Nov 22: 0 new sources (0 outlets, 0 accounts)
- Nov 23: 0 new sources (0 outlets, 0 accounts)
- Nov 24: 0 new sources (0 outlets, 0 accounts)
- Nov 25: 0 new sources (0 outlets, 0 accounts)
- Nov 26: 0 new sources (0 outlets, 0 accounts)
- Nov 27: 0 new sources (0 outlets, 0 accounts)
- Nov 28: 0 new sources (0 outlets, 0 accounts)
- Nov 29: 0 new sources (0 outlets, 0 accounts)