提出 #887138: boxpositron with-context-mcp 3.0.7 Path Traversal情報

タイトルboxpositron with-context-mcp 3.0.7 Path Traversal
説明The boxpositron/with-context-mcp MCP server exposes note synchronization tools such as teleport_notes and sync_notes for moving files between an Obsidian vault and a local project directory. Although the core note tools validate direct user-supplied note paths, the synchronization flow uses file paths derived from vault file listings and joins them with the local project root before writing to the local filesystem. In a local reproduction, the Obsidian REST API was mocked to return a vault file entry containing a traversal path, ../outside-poc/teleported.md. The teleport_notes tool was then invoked with dry_run set to false. The server read the mocked vault file content and wrote it to ../outside-poc/teleported.md, outside the repository directory. The resulting file contained the marker VAULT_TO_LOCAL_ESCAPE_MARKER_123456, confirming that the synchronization path can escape the intended project boundary. This demonstrates a workspace escape / arbitrary file write issue in the note teleport/synchronization path. Depending on deployment configuration and the trust boundary of the vault or Obsidian API responses, an attacker able to influence vault file names or synchronization inputs may cause the MCP server process to write files outside the intended project directory. Related read and delete impacts should be evaluated separately through the ingest/sync flows.
ソース⚠️ http://github.com/boxpositron/with-context-mcp/issues/2
ユーザー
 cccccccti (UID 96695)
送信2026年07月12日 17:30 (2 月 ago)
モデレーション2026年08月26日 22:55 (2 months later)
ステータス承諾済み
VulDBエントリ395981 [boxpositron with-context-mcp 迄 3.0.7 src/index.ts ディレクトリトラバーサル]
ポイント20

Do you need the next level of professionalism?

Upgrade your account now!