Gửi #802085: ef10007 MLOps_MCP 1.0.0 Path Traversalthông tin

tiêu đềef10007 MLOps_MCP 1.0.0 Path Traversal
Mô tả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.
Nguồn⚠️ https://github.com/ef10007/MLOps_MCP/issues/1
Người dùng SmallW (UID 97245)
Đệ trình10/04/2026 15:03 (cách đây 5 các tháng)
Kiểm duyệt27/04/2026 17:07 (17 days later)
Trạng tháiđược chấp nhận
Mục VulDB359809 [ef10007 MLOps_MCP 1.0.0 save_file Tool fastmcp_server.py filename/destination duyệt thư mục]
điểm20

Do you know our Splunk app?

Download it now for free!