| Título | ef10007 MLOps_MCP 1.0.0 Path Traversal |
|---|
| Descrição | The save_file MCP tool is meant to save uploaded content into a destination folder under the server's current working directory. Instead, it computes dest_path = os.path.join(os.getcwd(), destination) and trusts the result directly. Absolute destinations override os.getcwd() entirely, and relative traversal sequences escape it. The subsequent open(file_path, ...) call therefore writes arbitrary files outside the intended project workspace. |
|---|
| Fonte | ⚠️ https://github.com/ef10007/MLOps_MCP/issues/1 |
|---|
| Utilizador | SmallW (UID 97245) |
|---|
| Submissão | 10/04/2026 15h03 (há 18 dias) |
|---|
| Moderação | 27/04/2026 17h07 (17 days later) |
|---|
| Estado | Aceite |
|---|
| Entrada VulDB | 359809 [ef10007 MLOps_MCP 1.0.0 save_file Tool fastmcp_server.py filename/destination Travessia de Diretório] |
|---|
| Pontos | 20 |
|---|