| 제목 | douinc mkdocs-mcp-plugin 0.4.1 Path Traversal |
|---|
| 설명 | mkdocs-mcp-plugin is intended to read documentation from a MkDocs docs directory, but its MCP tools trust caller-supplied path components too broadly:
read_document(file_path, docs_dir="docs")
list_documents(docs_dir="docs")
The implementation uses Path(docs_dir) / file_path and Path(docs_dir).rglob("*.md") directly, without resolving the resulting path and verifying that it remains inside the intended documentation root. An attacker can therefore use .. segments or override docs_dir to access markdown files outside the project's docs directory.
|
|---|
| 원천 | ⚠️ https://github.com/douinc/mkdocs-mcp-plugin/issues/6 |
|---|
| 사용자 | SmallW (UID 97245) |
|---|
| 제출 | 2026. 04. 10. PM 01:41 (2 개월 ago) |
|---|
| 모더레이션 | 2026. 04. 26. PM 10:16 (16 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 359758 [douinc mkdocs-mcp-plugin 까지 0.4.1 server.py read_document/list_documents docs_dir/file_path 디렉토리 순회] |
|---|
| 포인트들 | 20 |
|---|