| 标题 | duartium papers-mcp-server 0.1.0 Path Traversal |
|---|
| 描述 | The search_papers() MCP tool uses the caller-controlled topic string to derive a directory name under papers/, but it only lowercases the string and replaces spaces with underscores. Traversal sequences and path separators survive unchanged. The server then creates the directory and writes papers_info.json inside it. A topic such as ../../../../tmp/papers_poc therefore escapes the intended papers/ workspace and creates or overwrites /tmp/papers_poc/papers_info.json. |
|---|
| 来源 | ⚠️ https://github.com/duartium/papers-mcp-server/issues/1 |
|---|
| 用户 | SmallW (UID 97245) |
|---|
| 提交 | 2026-04-10 14時41分 (2 月前) |
|---|
| 管理 | 2026-04-27 16時02分 (17 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 359805 [duartium papers-mcp-server 9ceb3812a6458ba7922ca24a7406f8807bc55598 src/main.py search_papers topic 目录遍历] |
|---|
| 积分 | 20 |
|---|