提出 #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 (18 日 ago)
モデレーション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

Want to stay up to date on a daily basis?

Enable the mail alert feature now!