Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain MCP tool call access (auth or prompt injection)
-
DeliveryCraft upload_image request with traversal image_path
-
ExploitServer reads target file via unsanitized readFileSync
-
ExecutionFile contents uploaded to CDN
-
ImpactSensitive data exfiltrated to attacker-accessible URL
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 | Exploitation requires the ability to invoke the upload_image MCP tool on the getnote-mcp server - corresponding to the PR:L (low privileges) metric in the CVSS vector. In typical deployments, this means the attacker must be an authenticated MCP client or an AI agent process that has been compromised via prompt injection. No special server-side configuration is required beyond a default installation; the vulnerable code path is active whenever the upload_image tool is available. Exploitation is further constrained by: the OS-level file permissions of the user running getnote-mcp (limits which files are readable), the requirement for outbound network connectivity from the server to the CDN (needed for exfiltration), and the attacker's ability to obtain or infer valid file paths on the host. There is no requirement for specific platform or non-default configuration flags to trigger the traversal - it affects all 1.5.0 and earlier deployments by default. |
| Impact | The official CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P) rates confidentiality impact as Low, but this appears to underestimate the real-world impact: the vulnerability enables reading any file accessible to the server process - including SSH private keys and credentials - and automatically exfiltrates the content to a public CDN. This is functionally equivalent to a High confidentiality impact, and the independent assessed CVSS 3.1 vector reflects this. The PR:L prerequisite (ability to invoke MCP tool calls) constrains the attack surface to authenticated MCP callers or AI agents with access to the endpoint; in AI-agent workflows, prompt injection attacks could trigger exploitation without direct attacker access to the MCP server. No EPSS score was provided. No CISA KEV listing was identified, suggesting no confirmed widespread exploitation at time of analysis. The E:P modifier (public exploit) elevates urgency despite the absence of KEV status. The blast radius is bounded by the OS-level file permissions of the user running the getnote-mcp process and by the requirement for outbound CDN connectivity. |
| Exploit ScenarioDerived | An attacker with the ability to send MCP tool calls - either as a direct authenticated client or via a prompt injection attack on an AI agent using this MCP server - issues an upload_image request with image_path set to /etc/passwd or ../../.ssh/id_rsa. The getnote-mcp server reads the target file via fs.readFileSync without validation and uploads its contents to the CDN, completing exfiltration of sensitive host data to a publicly accessible URL. A public proof-of-concept demonstrating this technique is referenced in GitHub issue #10 (https://github.com/iswalle/getnote-mcp/issues/10). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 28, 2026
Path traversal in iswalle getnote-mcp up to version 1.5.0 allows attackers with low-privilege MCP call access to read arbitrary files from the host filesystem via the upload_image tool's unsanitized image_path parameter. The vulnerable fs.readFileSync call in src/index.ts accepts absolute paths and directory traversal sequences, and critically, the read file is automatically uploaded to a public CDN - making this an arbitrary file read with built-in exfiltration, exposing SSH keys, /etc/passwd, and similar sensitive data. A public exploit exists (GitHub issue #10) and vendor-released patch version 1.5.1 is confirmed available; no CISA KEV listing has been identified.
RemediationAI
Upgrade iswalle getnote-mcp to version 1.5.1, the vendor-confirmed patched release available at https://github.com/iswalle/getnote-mcp/releases/tag/v1.5.1 (patch commit 7f9a215e03575c650d38c8f87fc6d8d363fed80d, https://github.com/iswalle/getnote-mcp/commit/7f9a215e03575c650d38c8f87fc6d8d363fed80d). After upgrading, set the GETNOTE_MCP_ALLOWED_ROOT environment variable to a specific directory containing only images intended for upload; this activates the stricter symlink-aware path confinement added in the patch. If immediate upgrade is not possible, restrict MCP endpoint access to trusted callers only at the network or authentication layer - note this does not patch the underlying flaw but reduces exposure. Running the server in a container or chroot with a minimal, read-only filesystem view limits the files an attacker can reach via traversal, though it does not eliminate the vulnerability. No workaround fully substitutes for the patch.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability (CWE-22: Path Traversal) resides in the upload_image tool handler within src/index.ts of getnote-mcp, a Model Context Protocol (MCP) server implementation identified by CPE cpe:2.3:a:iswalle:getnote-mcp. MCP is a protocol enabling AI agents to invoke server-side tools. The handler passes the caller-supplied image_path argument directly to fs.readFileSync without any sanitization, accepting absolute paths such as /etc/passwd, relative traversal sequences like ../../.ssh/id_rsa, and null-byte payloads that truncate path strings at the syscall boundary. The read file content is then uploaded to a remote CDN, converting a local file read into an automatic exfiltration primitive. The fix in commit 7f9a215e introduces resolveSafeImagePath(), which enforces: rejection of null bytes, rejection of absolute paths via isAbsolute() and regex checks, rejection of any path segment equal to .., and - when the GETNOTE_MCP_ALLOWED_ROOT environment variable is set - uses realpathSync to resolve symlinks and confirm the final path lies within the allowed directory, preventing symlink escape attacks.
Know when Getnote Mcp 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:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P
PR:L reflects required MCP call access; C:H chosen because arbitrary file read with automatic CDN exfiltration constitutes full confidentiality loss.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was detected in iswalle getnote-mcp up to 1.5.0. The affected element is the function fs.readFileSync of the file src/index.ts of the component upload_image. Performing a manipulation of the argument image_path results in path traversal. The attack can be initiated remotely. The exploit is now public and may be used. Upgrading to version 1.5.1 is sufficient to fix this issue. The patch is named 7f9a215e03575c650d38c8f87fc6d8d363fed80d. Upgrading the affected component is advised.
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.
EUVD-2026-67588
GHSA-947f-v6gc-m8c7
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB