제출 #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. PM 03:03 (2 개월 ago)
모더레이션2026. 04. 27. PM 05:07 (17 days later)
상태수락
VulDB 항목359809 [ef10007 MLOps_MCP 1.0.0 save_file Tool fastmcp_server.py filename/destination 디렉토리 순회]
포인트들20

Do you need the next level of professionalism?

Upgrade your account now!