| 제목 | 54yyyu code-mcp 4cfc4643541a110c906d93635b391bf7e357f4a8 Path Traversal |
|---|
| 설명 | The server attempts to restrict file access to PROJECT_ROOT using is_safe_path, but relies on Path.absolute() parent membership checks. Because absolute() does not canonicalize .., crafted paths such as PROJECT_ROOT/../outside.txt can pass the parent check while resolving outside workspace boundaries in downstream file operations. This may enable out-of-workspace read/write access through MCP file tools. |
|---|
| 원천 | ⚠️ https://github.com/54yyyu/code-mcp/issues/4 |
|---|
| 사용자 | CPT_Penner (UID 97246) |
|---|
| 제출 | 2026. 04. 18. PM 08:28 (2 개월 ago) |
|---|
| 모더레이션 | 2026. 05. 04. PM 11:24 (16 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 361071 [54yyyu code-mcp 까지 4cfc4643541a110c906d93635b391bf7e357f4a8 MCP File src/code_mcp/server.py is_safe_path 디렉토리 순회] |
|---|
| 포인트들 | 20 |
|---|