إرسال #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)
ارسال10/04/2026 03:03 PM (18 أيام منذ)
الاعتدال27/04/2026 05:07 PM (17 days later)
الحالةتمت الموافقة
إدخال VulDB359809 [ef10007 MLOps_MCP 1.0.0 save_file Tool fastmcp_server.py filename/destination اجتياز الدليل]
النقاط20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!