提交 #802085: ef10007 MLOps_MCP 1.0.0 Path Traversal信息

标题ef10007 MLOps_MCP 1.0.0 Path Traversal
描述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.
来源⚠️ https://github.com/ef10007/MLOps_MCP/issues/1
用户 SmallW (UID 97245)
提交2026-04-10 15時03分 (2 月前)
管理2026-04-27 17時07分 (17 days later)
状态已接受
VulDB条目359809 [ef10007 MLOps_MCP 1.0.0 save_file Tool fastmcp_server.py filename/destination 目录遍历]
积分20

Do you know our Splunk app?

Download it now for free!