जमा करें #802052: dexhunter kaggle-mcp 0.1.0 Path Traversalजानकारी

शीर्षकdexhunter kaggle-mcp 0.1.0 Path Traversal
विवरणThe prepare_kaggle_dataset tool expects competition_id to be a Kaggle competition slug, but it uses that value directly as a filesystem path component when creating the local extraction directory: data_dir = Path(__file__).parent / "data" / arguments["competition_id"] os.makedirs(data_dir, exist_ok=True) Because no slug validation, canonicalization, or root-boundary check is applied, traversal sequences such as ../../../../tmp/poc escape the intended src/kaggle_mcp/data/ tree. The directory is created before Kaggle API download or extraction occurs, so the path traversal is reachable even when the later download fails.
स्रोत⚠️ https://github.com/dexhunter/kaggle-mcp/issues/1
उपयोगकर्ता
 MidA (UID 96794)
सबमिशन10/04/2026 12:55 PM (2 महीनों पहले)
संयम26/04/2026 10:02 PM (16 days later)
स्थितिस्वीकृत
VulDB प्रविष्टि359748 [dexhunter kaggle-mcp तक 406127ffcb2b91b8c10e20e6c2ca787fbc1dc92d src/kaggle_mcp/server.py prepare_kaggle_dataset competition_id निर्देशिका ट्रैवर्सल]
अंक20

Do you need the next level of professionalism?

Upgrade your account now!