Friday, 20 November 2026
2 agent hacks today▼ 9 vs yesterday (11)

Gortex arbitrary file write vulnerability enables code execution

Gortex MCP server's write_file and edit_file tools fail to confine absolute paths to repository roots, allowing an attacker to write arbitrary files outside repos and achieve code execution via startup scripts or hooks.

Disclosed 19 November 2026 · Record updated 19 November 2026

Impact

Arbitrary file write outside repository confinement enables code execution when attacker-controlled or prompt-injected agent invokes write tools to modify startup scripts, hooks, or cron jobs on the host system.

Our coverage

Sources

  1. github.comhttps://github.com/advisories/GHSA-w42c-h7hr-f67p