Skip to main content

python-notebook-mcp CVE-2026-7810

| EUVDEUVD-2026-27211 MEDIUM
Path Traversal (CWE-22)
2026-05-05 VulDB
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Attacker discovers exposed python-notebook-mcp endpoint
  2. Delivery
    Crafts HTTP request with path traversal payload (../ sequences)
  3. Exploit
    Server processes unsanitized file path
  4. Execution
    Attacker reads sensitive files or writes malicious content
  5. Impact
    System 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.

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 – 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

python-notebook-mcp a05a232815809a7e425b5fa7be26e0d4369894c2

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

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

Primary rating from Vendor (VulDB) · only source for this CVE.

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
Severity Changed
May 05, 2026 - 04:22 NVD
HIGH MEDIUM
CVSS changed
May 05, 2026 - 04:22 NVD
7.3 (HIGH) 5.5 (MEDIUM)

DescriptionCVE.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

EPSS Score
0.0%
Top 86% exploitable
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL 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 Yes
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

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
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.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

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

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

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