Case · DiggingBeagle record

MCP Filesystem validated one path spelling and used another

Filesystem allowlisting could be bypassed by a sibling pathname whose trailing quote or whitespace was interpreted inconsistently by validation and file operations.

Assessment profile

Assessment method
Setting
research demonstration
Exploitation
demonstrated
Evidence
Grade B
Remediation
patch available
AI role
AGAINST AI
Basis and provenance

Maintainer case with local file access reproduction, no field compromise statistics. The impact band remains unknown: available evidence does not establish actual deployed victim outcomes or a comparable measured loss.

Assessed Oct 26, 2026 using diggingbeagle.assessment/1.

At a glance

Claims & evidence

CLM-CP20-MCP-FS-QUOTEThe server-filesystem advisory reproduces read outside allowedDirectories because validatePath trims a trailing quote for comparison while subsequent file access uses the original pathname.supported

Basis: reported finding

Link to claim
CLM-CP20-ENRICH-MCP-FS-QUOTEGHSA-7rgq-gccq-qphx reports an MCP Filesystem path validation inconsistency in which the checked spelling strips trailing quotes or whitespace while the filesystem operation uses the original path; 2.0.1 is listed as patched.supported

Basis: reported finding

Link to claim

Unknowns and contradictions

  • The experiment is a local check/use demonstration. It does not establish deployment prevalence or that a remote attacker without influence over an agent or tool arguments already had filesystem access.

Sources and citation

Material revision history

  1. Oct 26, 2026 · Canonical change recorded · new in release · revision 193