Case · DiggingBeagle record

MCP filesystem move_file could move a protected outside source through a renamed parent

A separate bug affected writes, not the read_text_file path. In a same-device move, the destination was anchored to its approved directory, but the source pathname was reopened at rename time. An attacker who swapped the source parent between validation and rename could cause a file from outside the allowed tree to be moved into it.

Public disclosure: Nov 11, 2026

Scope

Local cooperating swapper and same-device move on an affected filesystem MCP server, with no identified deployment victim.

Assessment profile

Assessment method
Setting
research demonstration
Exploitation
demonstrated
Evidence
Grade C
Remediation
patch available
AI role
AGAINST AI
Basis and provenance

The upstream GHSA describes a source-path rename race with admitted timing and platform uncertainties; patched versions are reported, not independently audited here. An impact band is not assigned because the available Claims do not establish a comparable verified severity or quantified harm.

Assessed Nov 12, 2026 using diggingbeagle.assessment/1.

At a glance

Mechanism and trust boundary

  1. 01

    An attacker with local access repeatedly swaps an approved source directory for an outside-pointing symlink.

  2. 02

    The move tool validates the paths but uses a non-anchored absolute source pathname for same-device rename.

  3. 03

    The server may relocate an outside file into its allowed root, enabling later reads and changing the original path.

Claims & evidence

CLM-R239-031-COREGHSA-7m4x-rv66-mxhh describes a same-device move_file race that could move an outside file into an allowed directory because the source pathname was not pinned.supported

Basis: reported finding

Link to claim

Implications

The observed effect is limited to the study or disclosed setting; deployment and independent impact remain unestablished.

Controls and mitigations

  • Pin both source and destination directory objects, test same-device and cross-device paths and install server-filesystem 2.3.0.

Unknowns and contradictions

  • Windows behavior, race reliability and whether every file class was reachable were not established.

Sources and citation

Material revision history

  1. Nov 12, 2026 · Published version · first publication · revision 241