filesystem: --read-only-dir bypass via move_file and intermediate symlinks
GHSA-wvx6-97c6-mr3g · published 2026-12-05
- Severity
- Medium
- CVSS score
- Not scored
- Chance of exploitation (EPSS)
- No CVE
- Fixed in
- 2.4.2
filesystem: --read-only-dir bypass via move_file and intermediate symlinks. The source advisory has the full description.
Upgrade @modelcontextprotocol/server-filesystem to 2.4.2 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| @modelcontextprotocol/server-filesystem | npm | < 2.4.2 | 2.4.2 |
- CriticalMCP Path Traversal Allows Full-Filesystem Read and JWT Secret Exfiltration Leading to Account Takeoverlangflow, langflow-base
- CriticalVibe-Trading FastAPI endpoints permit unauthenticated access, file upload, and an RCE chainvibe-trading-ai
- Critical@zereight/mcp-gitlab: Unauthenticated arbitrary file read via `upload_markdown` enables PAT exfiltration and full account takeover@zereight/mcp-gitlab
- CriticalFlowise RCE via SQL Database Chain Nodeflowise, flowise-components
- CriticalLangroid: SQLChatAgent dangerous-function blocklist can be bypassed with quoted or schema-qualified pg_read_file callslangroid
- Criticalfast-mcp-telegram: Bearer token path traversal bypasses reserved Telegram session protectionfast-mcp-telegram
- Highfilesystem: --read-only-dir bypass on case-insensitive Linux mounts@modelcontextprotocol/server-filesystem
- High@modelcontextprotocol/server-filesystem vulnerability allows for path validation bypass via colliding path prefix@modelcontextprotocol/server-filesystem
- High@modelcontextprotocol/server-filesystem allows for path validation bypass via prefix matching and symlink handling@modelcontextprotocol/server-filesystem
- Mediumfilesystem: non-UTF-8 allowed directory resolves to a sibling symlink@modelcontextprotocol/server-filesystem
- Mediumcreate_directory: NFC-twin symlink race creates dirs in --read-only-dir@modelcontextprotocol/server-filesystem
- Mediumserver-filesystem: `move_file`'s same-device rename leaves the source unpinned — a swapped source parent moves an outside file into the allo@modelcontextprotocol/server-filesystem