CVE-2026-7212

edvardlindelof notes-mcp notes_mcp.py path traversal

Published Apr 28, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
A security vulnerability has been detected in edvardlindelof notes-mcp up to 0.1.4. This affects an unknown function of the file notes_mcp.py. The manipulation of the argument root_dir/path leads to path traversal. The attack is possible to be carried out remotely. The exploit has been disclosed publicly and may be used. The project was informed of the problem early through an issue report but has not responded yet.

Analysis

AI-generated

Technical impact

A path traversal flaw exists in the notes_mcp.py component of the notes-mcp project, affecting versions up to 0.1.4. The vulnerability is triggered by manipulating the root_dir or path argument, which allows an attacker to reference file system locations outside the intended directory hierarchy. The flaw can be exploited remotely, resulting in unauthorized file access or disclosure of sensitive configuration data. The effect may compromise confidentiality and potentially allow broader system exploitation if critical files are read or altered.

Affected Systems

The exploit targets the open-source notes-mcp application developed by Edvard Lindelof. All deployments using the notes-mcp package at or below version 0.1.4 are vulnerable. No additional vendor or product ranges are specified beyond the notes-mcp package itself.

Risk and Exploitability

The CVSS score of 6.9 classifies the vulnerability as moderate severity, with the attacker required to supply a malicious root_dir or path argument via a remote interface. The EPSS score is not provided, and the issue is not listed in the CISA KEV catalog, suggesting that while the flaw is documented, the exploitation rate may be low at present. Nonetheless, because the attacker can read arbitrary files, the risk to confidentiality is significant, especially in environments where notes-mcp is exposed to external users or network traffic.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade notes-mcp to a version newer than 0.1.4 when it becomes available.
  • Configure the application to use a fixed, safe root directory and disable remote input of the root_dir or path parameters.
  • Implement server‑side validation that blocks any path containing ".." sequences or absolute paths before use.

Generated by OpenCVE AI on April 28, 2026 at 12:34 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-vc5j-42hh-j3mr notes-mcp has a Path Traversal issue
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Edvardlindelof
Edvardlindelof notes-mcp
Vendors & Products Edvardlindelof
Edvardlindelof notes-mcp
Type Values Removed Values Added
Description A security vulnerability has been detected in edvardlindelof notes-mcp up to 0.1.4. This affects an unknown function of the file notes_mcp.py. The manipulation of the argument root_dir/path leads to path traversal. The attack is possible to be carried out remotely. The exploit has been disclosed publicly and may be used. The project was informed of the problem early through an issue report but has not responded yet.
Title edvardlindelof notes-mcp notes_mcp.py path traversal
Weaknesses CWE-22
References
Metrics cvssV2_0

{'score': 7.5, 'vector': 'AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 7.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 6.9, 'vector': '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'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Apr 29, 2026, 2:13 PM
Reserved
Apr 27, 2026, 3:02 PM
Status
Deferred
Published
Apr 28, 2026, 2:16 AM
Modified
Jul 24, 2026, 8:10 AM