提交 #802084: edvardlindelof notes-mcp 0.1.4 Path Traversal信息

标题edvardlindelof notes-mcp 0.1.4 Path Traversal
描述`notes-mcp` is configured with a single `root_dir` that is supposed to represent the note vault. All file tools then operate by concatenating caller-controlled relative paths onto that root with `root_dir / path`, but the implementation never resolves the resulting path or checks that it remains under `root_dir`. Any caller who can invoke the MCP tools can therefore use `../` segments to read, create, or delete files outside the intended notes directory.
来源⚠️ https://github.com/edvardlindelof/notes-mcp/issues/2
用户 SmallW (UID 97245)
提交2026-04-10 15時00分 (2 月前)
管理2026-04-27 17時03分 (17 days later)
状态已接受
VulDB条目359808 [edvardlindelof notes-mcp 直到 0.1.4 notes_mcp.py root_dir/path 目录遍历]
积分20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!