Arbitrary directory creation via unsanitized competition identifier
Published Apr 27, 2026 · Updated Apr 27, 2026
Path traversal in prepare_kaggle_dataset in dexhunter kaggle-mcp 0.1.0 allows remote attackers to create directories outside its cache. The function appends competition_id directly to src/kaggle_mcp/data and calls os.makedirs without slug validation, canonicalization, or a root-boundary check. Exploitation requires access to invoke the MCP tool and filesystem write permission for the server process; directory creation occurs before any Kaggle download succeeds.
Summary
What happened
Path traversal in prepare_kaggle_dataset in dexhunter kaggle-mcp 0.1.0 allows remote attackers to create directories outside its cache. The function appends competition_id directly to src/kaggle_mcp/data and calls os.makedirs without slug validation, canonicalization, or a root-boundary check. Exploitation requires access to invoke the MCP tool and filesystem write permission for the server process; directory creation occurs before any Kaggle download succeeds.
The record
- CVE
- CVE-2026-7149
- Published
- Apr 27, 2026
- Updated
- Apr 27, 2026
- Vendor
- dexhunter
- Product
- kaggle-mcp
- Classifications
- CWE-22
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 27, 2026CVE publishedPublication date reported by the CVE source.
- Apr 27, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=406127ffcb2b91b8c10e20e6c2ca787fbc1dc92d
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GitHub issue JSON-RPC reproduction requestproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo