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

Inspect INC-2025-53110 in Interactive Incidents & Cases Hub

Defensive takeaway

Always append path.sep or use path.relative() containment assertions when validating MCP filesystem tool access boundaries.

Mapped AI security techniques

Mapped defensive controls

Source citation records