Documented Incident · INC-2025-53110 · High severity
Reference Filesystem MCP Server Prefix Containment Bypass Reading Sibling Folders
CVE-2025-53110 (published July 2, 2025, disclosed by Cymulate alongside CVE-2025-53109) uncovered a classic directory-prefix containment bug in `@modelcontextprotocol/server-filesystem`. Because path containment checked `path.startsWith(allowedDir)` without appending a trailing path separator, allowing access to `/workspace/app` inadvertently authorized read and write access to sibling paths such as `/workspace/app-secrets` or `/workspace/app_prod`. Agents steered by untrusted prompts could traverse into neighboring sensitive repositories silently. Maintainers patched path containment to compare normalized path segments with trailing directory separators.
Incident dossier metadata
- Case ID
INC-2025-53110- Classification
- Incident
- Date
- Severity
- High
- Sector
- Software Development & AI Tooling
- Attack vector
- Tool/MCP Abuse
- System type
- Model Context Protocol (MCP) Filesystem Servers
- CVE / reference
CVE-2025-53110- Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2025-53110
Defensive takeaway
Always append path.sep or use path.relative() containment assertions when validating MCP filesystem tool access boundaries.
Mapped AI security techniques
- Data from Local System AML.T0037
- AI Agent Tool Invocation AML.T0053
- Data from AI Services: AI Agent Tools AML.T0085.001
Mapped defensive controls
Source citation records
- NVD Record CVE-2025-53110: Filesystem MCP Server Directory Prefix Bypass · NIST National Vulnerability Database (NVD) ·