filesystem: --read-only-dir bypass on case-insensitive Linux mounts
GHSA-74fx-4rhc-wgcp · published 2026-12-05
- Severity
- High
- CVSS score
- Not scored
- Chance of exploitation (EPSS)
- No CVE
- Fixed in
- 2.4.2
filesystem: --read-only-dir bypass on case-insensitive Linux mounts. 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 |
- CriticalLiteLLM has SQL Injection in Proxy API key verificationlitellmExploited
- Criticaln8n Vulnerable to Remote Code Execution via Expression Injectionn8nExploited
- HighLiteLLM has a sandbox escape in custom-code guardraillitellmExploited
- HighLangflow affected by Remote Code Execution via validate_code() exec()langflowExploited
- Criticalgit_add runs submodule filter commands when gitlink mode is not 160000mcp-server-git
- Criticalmcp-server-git: unexpandable sparse index lets submodule filter drivers runmcp-server-git
- 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
- Mediumfilesystem: --read-only-dir bypass via move_file and intermediate symlinks@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