News · DiggingBeagle record

Gortex restricted repository reads but let MCP writes escape the root

CVE-2026-62964 exposed an asymmetry between protected read operations and effectful file tools: absolute paths and symlinks could redirect writes outside the indexed repository.

Published
Nov 20, 2026

The report

A repository index is a convenient boundary for finding code, but it is not an operating-system security boundary for writing files. The Gortex advisory identifies write and edit paths that could act outside the directory operators believed the MCP tool was confined to. Reading a file was checked more carefully than changing it.

What the path check missed

The relevant file tools accepted destinations that escaped the indexed root, including absolute-path handling and symlink resolution. A caller able to influence an agent's tool arguments could therefore redirect a write to another path accessible to the Gortex process. The actual consequence depends on that process's filesystem permissions and which files exist at the target. Neither root privileges nor a live victim follow automatically.

The flaw was repaired in version 0.55.0, with formal CVE tracking appearing later than the initial patch. It is therefore inaccurate to present the November advisory as proof that the issue first appeared or was first fixed this week.

This finding complements the Junie file-tool boundary without establishing the same code defect. A meaningful fix checks the resolved, final destination for every operation that creates or changes state. Protecting search and read functions alone does not constrain adjacent write functions that run with the same host credentials.

Research behind this