Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker discovers exposed python-notebook-mcp endpoint
-
DeliveryCrafts HTTP request with path traversal payload (../ sequences)
-
ExploitServer processes unsanitized file path
-
ExecutionAttacker reads sensitive files or writes malicious content
-
ImpactSystem impact (data exfiltration or code execution)
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 | Remote unauthenticated exploitation requires only network access to the python-notebook-mcp server endpoints (create_notebook, read_notebook, edit_cell, add_cell) on their default or exposed ports. No authentication, special privileges, or user interaction is required. The vulnerability exists in the default operation of these functions without requiring non-default configuration. Exploitation is limited by filesystem permissions on the target system - an attacker can only access or modify files that the python-notebook-mcp process has permission to read or write. If the service runs with restricted user privileges (non-root), the attacker's access is similarly restricted. Running the service behind a firewall or access control list reduces exposure but does not eliminate the vulnerability if the attacker has network access to the server. |
| Impact | CVSS 5.5 with network attack vector, low complexity, and no privileges required indicates accessible remote exploitation. The CVSS vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms unauthenticated network attack with minimal barriers. However, the confidentiality, integrity, and availability impacts are rated low (VC:L/VI:L/VA:L), suggesting limited scope - likely confined to the notebook file system rather than system-wide compromise. EPSS data is not provided, but the combination of public exploit code (E:P in vector), rolling-release deployment model with no patch availability, and low-impact classifications suggests this is a moderate real-world priority: exploitable by any network attacker but with bounded damage potential. The lack of vendor response is concerning for long-term risk. This is not a critical vulnerability but merits prioritization for organizations running exposed instances of this tool. |
| Exploit ScenarioDerived | An attacker sends an HTTP request to the read_notebook endpoint with a crafted path parameter containing traversal sequences, such as 'read_notebook?file=../../etc/passwd', causing the server to read and return the contents of /etc/passwd or other sensitive files outside the notebook directory. Alternatively, the attacker uses the create_notebook or edit_cell endpoint to write malicious content (e.g., Python code) to arbitrary locations on the filesystem, potentially achieving code execution if the file is later loaded or executed by the application or system. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 05, 2026
Path traversal in UsamaK98 python-notebook-mcp allows remote unauthenticated attackers to read, write, and manipulate notebook files outside their intended directory via crafted input to the create_notebook, read_notebook, edit_cell, and add_cell functions in server.py. Public exploit code is available. The project uses rolling releases with no versioning, and the vendor has not yet responded to the initial issue report despite early notification.
RemediationAI
No vendor-released patch is currently available. The project has not responded to the early issue report. For immediate mitigation, restrict network access to the python-notebook-mcp server to trusted sources only using a firewall or reverse proxy that validates and sanitizes file path parameters before forwarding requests. Disable or remove the create_notebook, read_notebook, edit_cell, and add_cell endpoints if not in active use. Implement strict input validation on the server side to reject any path components containing '..', '/', or other directory traversal sequences before processing file operations. Run the service in a chroot jail or container with a read-only root filesystem and mounted volumes restricted to the intended notebook directory to contain the blast radius. Monitor for exploitation attempts by logging and alerting on HTTP requests containing suspicious path sequences. Track the GitHub repository (https://github.com/UsamaK98/python-notebook-mcp/) for vendor patches and consider contributing a fix upstream if internal resources permit.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
python-notebook-mcp is a Python-based notebook server implementation that exposes file operations through API endpoints. The vulnerability exists in CWE-22 (Path Traversal), where user-supplied input to notebook creation, reading, and cell manipulation functions is not properly validated or sanitized before being used in file path construction. This allows attackers to use path traversal sequences (such as '../../../') to access files outside the intended notebook storage directory. The affected functions operate on the server.py file, which likely handles HTTP request routing and file I/O operations without adequate path canonicalization or allowlist validation.
Know when Python gets its next vulnerability
- 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
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
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A flaw has been found in UsamaK98 python-notebook-mcp up to a05a232815809a7e425b5fa7be26e0d4369894c2. Impacted is the function create_notebook/read_notebook/edit_cell/add_cell of the file server.py. This manipulation causes path traversal. It is possible to initiate the attack remotely. The exploit has been published and may be used. This product is using a rolling release to provide continious delivery. Therefore, no version details for affected nor updated releases are available. The project was informed of the problem early through an issue report but has not responded yet.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
EUVD-2026-27211
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB