Skip to main content

kaggle-mcp CVE-2026-7149

| EUVDEUVD-2026-25911 MEDIUM
Path Traversal (CWE-22)
2026-04-27 cna@vuldb.com
5.5
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify network-accessible kaggle-mcp instance
  2. Delivery
    Send MCP tool call with traversal payload in competition_id
  3. Exploit
    Bypass path validation in prepare_kaggle_dataset
  4. Execution
    Read or write arbitrary files on server filesystem
  5. Impact
    Exfiltrate credentials or plant malicious content

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The MCP server process must be reachable over the network - the CVSS 4.0 vector AV:N/PR:N/UI:N/AC:L confirms remote, unauthenticated, zero-interaction exploitation against any network-accessible instance with no configuration prerequisite. The attacker must be able to invoke the prepare_kaggle_dataset MCP tool, which is exposed by default in any deployment of kaggle-mcp at the affected commit. No special server configuration, feature flag, or authentication bypass is required. Exploitation is limited by: (1) the OS-level permissions of the server process - if running as an unprivileged user in a container with a restricted filesystem mount, traversal reach is bounded; (2) the network exposure of the MCP server - instances bound only to localhost or an internal network segment are not reachable by external attackers; and (3) the niche deployment footprint of the product itself.

Impact

The CVSS 4.0 base score of 5.5 (Medium) with vector AV:N/AC:L/AT:N/PR:N/UI:N reflects a low-complexity, unauthenticated, remote attack with partial impact across confidentiality, integrity, and availability. EPSS at 0.05% (14th percentile) indicates low current probability of observed exploitation in the wild, which is consistent with the product's niche footprint rather than any technical barrier to attack. Critically, SSVC rates exploitation as 'poc' and automatable with partial technical impact - meaning exploit tooling already exists and attacks require no manual adaptation per target. The maintainer non-response to the coordinated disclosure elevates risk further because no patch timeline exists. The primary mitigating factor is prevalence: kaggle-mcp is a niche MCP server with a small deployment surface, limiting mass-exploitation potential despite the exploit being publicly available. No conflict between signals is apparent; CVSS, SSVC, and EPSS are internally consistent given the product's limited footprint.

Exploit ScenarioDerived

An attacker with network access to a deployed kaggle-mcp instance sends a crafted MCP tool invocation targeting prepare_kaggle_dataset with a competition_id value containing traversal sequences such as '../../etc/passwd'. Because the function passes this value unsanitized into a filesystem path, the server resolves and processes a file outside the intended working directory, leaking sensitive host-filesystem content or writing attacker-controlled data to arbitrary locations. A public POC is available, and since the attack is automatable (SSVC), it could be scripted to enumerate exposed MCP endpoints and exfiltrate configuration or credential files.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 24, 2026

Path traversal in kaggle-mcp's prepare_kaggle_dataset function exposes the host filesystem to remote unauthenticated attackers via unsanitized competition_id input. Any deployment of this Model Context Protocol server at commit 406127ff or earlier is affected across all platforms. A publicly disclosed exploit exists and SSVC confirms the attack is automatable, meaning attackers can read, write, or partially disrupt arbitrary server files without credentials or user interaction; the maintainer has not responded to the coordinated disclosure issue filed on GitHub.

RemediationAI

No vendor-released patch has been identified at time of analysis; the maintainer has not responded to the GitHub issue (https://github.com/dexhunter/kaggle-mcp/issues/1) filed during responsible disclosure. Users who have deployed this MCP server should immediately restrict network access to the server to trusted internal clients only, preventing unauthenticated remote exploitation. Additionally, the MCP server process should be run under a dedicated low-privilege OS account with filesystem access restricted via chroot or container namespace isolation, so that a successful path traversal yields access only to an isolated directory tree rather than the host filesystem - this trades operational convenience for a hard containment boundary. Operators should monitor the upstream repository at https://github.com/dexhunter/kaggle-mcp/ for a responsive commit that sanitizes competition_id (e.g., via os.path.basename or explicit allowlist validation) and upgrade immediately upon availability. Until a fix lands, consider forking and applying a one-line sanitization patch locally as a stopgap.

Affected VersionsENISA

kaggle-mcp 406127ffcb2b91b8c10e20e6c2ca787fbc1dc92d

Affected Packages

pypi kaggle-mcp no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

kaggle-mcp is a Model Context Protocol (MCP) server written in Python that exposes Kaggle dataset operations as tool calls to AI agents. The vulnerable file src/kaggle_mcp/server.py contains the function prepare_kaggle_dataset, which constructs a filesystem path using the caller-supplied competition_id argument without sanitizing directory-traversal sequences such as '../'. CWE-22 (Path Traversal) describes this root cause: user-controlled input reaches a file-system operation before being neutralized. Because MCP servers accept structured tool invocations over a network transport, no web browser or HTTP stack is required - any MCP client can send the malicious argument directly. The affected CPE corresponds to the rolling-release commit 406127ffcb2b91b8c10e20e6c2ca787fbc1dc92d; no fixed version tag exists.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vuldb) PRIMARY 5.5 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 7.3 HIGH

Network-reachable MCP server, no authentication required per CVSS 4.0 PR:N, partial confidentiality, integrity, and availability impact consistent with limited path traversal scope.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (vuldb).

CVSS VectorVendor: vuldb

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
Apr 29, 2026 - 01:12 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
CVE Published
Apr 27, 2026 - 19:16 nvd
MEDIUM 5.5

DescriptionCVE.org

A vulnerability has been found in dexhunter kaggle-mcp up to 406127ffcb2b91b8c10e20e6c2ca787fbc1dc92d. This vulnerability affects the function prepare_kaggle_dataset of the file src/kaggle_mcp/server.py. The manipulation of the argument competition_id leads to path traversal. The attack is possible to be carried out remotely. The exploit has been disclosed to the public and may be used. This product adopts a rolling release strategy to maintain continuous delivery. Therefore, version details for affected or updated releases cannot be specified. The project was informed of the problem early through an issue report but has not responded yet.

Threat Intelligence Overview

EPSS Score
0.0%
Top 86% exploitable
Prevalence
Rare
niche MCP server for Kaggle, minimal enterprise deployment footprint
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy