mcp-cve-project

GHSA-7m4x-rv66-mxhh | server-filesystem: move_file’s same-device rename leaves the source unpinned — a swapped source parent | Medium |

Advisory Information

Field Value
GHSA ID GHSA-7m4x-rv66-mxhh
CVE ID No CVE assigned
Date (index) 2026-11-11
Affected product @modelcontextprotocol/server-filesystem: server-filesystem: move_file’s same-device rename leaves the source unpinned — a swapped source parent moves an outside file into the allowed directories,
OWASP MCP Top 10 (2025) MCP02 — Privilege Escalation via Scope Creep
Published / disclosed 2026-11-11
Ecosystem npm
Component @modelcontextprotocol/server-filesystem
CVSS score 5.0 MEDIUM CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:N
CWE CWE-367
Affected versions < 2.3.0; >= 2025.1.14, <= 2026.8.31
Fixed versions 2.3.0
Fix status Patched
Notes Indexed on 2026-11-16 from the published GitHub repository advisory.

Advisory Breakdown

server-filesystem’s move_file uses a same-device rename without keeping the source pinned for the whole operation. A source parent that is swapped after the check can move a file from outside the allowed directories into an allowed directory. Upgrade mcp-server-filesystem to the patched release.

Fix / Remediation

Upgrade to the patched version listed above. Where the advisory says a setting is still required after the upgrade, apply that setting as well. Keep HTTP MCP listeners authenticated and off untrusted networks until the upgrade is in place.

Detection / verification