Description
A vulnerability was identified in bazylhorsey obsidian-mcp-server 1.0.0. This affects the function readCanvas/writeCanvas of the file src/services/CanvasService.ts. Such manipulation leads to path traversal. An attack has to be approached locally. The project was informed of the problem early through an issue report but has not responded yet.
Published: 2026-08-09
Score: 4.8 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A vulnerability exists in the writeCanvas function of bazylhorsey obsidian‑mcp‑server version 1.0.0, where unvalidated file paths are accepted. An attacker with local access to the server can craft a request that forces the function to write or overwrite files outside the intended canvas directory, enabling arbitrary file creation or modification. This flaw is a classic path traversal issue (CWE‑22). The impact is disclosure and potential modification of system files, which could lead to further compromise if critical files are affected. The CVSS score of 4.8 reflects a moderate severity for a local vulnerability, and the issue requires local interaction with the server. The project has acknowledged the bug but no remediation has been released yet.

Affected Systems

The affected product is bazylhorsey obsidian‑mcp‑server, currently released at version 1.0.0. No other versions or variants are listed as impacted. Systems running this version and exposing the CanvasService API are susceptible.

Risk and Exploitability

The vulnerability can be exploited by any entity that can invoke the writeCanvas path on the server. Because the flaw is local, the attack requires physical or remote side‑channel access to the host, such as a compromised user session or insecure SSH access. There is no publicly available exploit, and the EPSS score is not reported, indicating limited known exploitation. The CVSS metric indicates a moderate risk, and the vulnerability is not present in the CISA KEV catalogue. If an attacker can reach the writeCanvas endpoint, they can deliver a crafted file path to create or overwrite arbitrary files within the server’s filesystem, potentially allowing privilege escalation or persistence. No remote network exposure or privilege escalation vectors are described in the available data.

Generated by OpenCVE AI on August 9, 2026 at 05:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Limit access to the CanvasService writeCanvas endpoint by requiring authentication and restricting it to trusted users or internal networks only.
  • Sanitize and validate any file path parameters server‑side before performing file operations, ensuring the path is resolved within a dedicated directory and rejecting traversal sequences such as "..".
  • Once the vendor releases an update or patch, deploy it immediately; in the meantime, relocate the service so it writes to a secure, non‑privileged directory or use a chroot/jail environment to contain potential writes.
  • Monitor the filesystem for unexpected file creation or modification under the canvas directory and generate alerts for any anomalies.

Generated by OpenCVE AI on August 9, 2026 at 05:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 09 Aug 2026 04:45:00 +0000

Type Values Removed Values Added
Description A vulnerability was identified in bazylhorsey obsidian-mcp-server 1.0.0. This affects the function readCanvas/writeCanvas of the file src/services/CanvasService.ts. Such manipulation leads to path traversal. An attack has to be approached locally. The project was informed of the problem early through an issue report but has not responded yet.
Title bazylhorsey obsidian-mcp-server CanvasService.ts writeCanvas path traversal
First Time appeared Bazylhorsey
Bazylhorsey obsidian-mcp-server
Weaknesses CWE-22
CPEs cpe:2.3:a:bazylhorsey:obsidian-mcp-server:*:*:*:*:*:*:*:*
Vendors & Products Bazylhorsey
Bazylhorsey obsidian-mcp-server
References
Metrics cvssV2_0

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

cvssV3_0

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

cvssV3_1

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

cvssV4_0

{'score': 4.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}


Subscriptions

Bazylhorsey Obsidian-mcp-server
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-08-09T04:15:10.641Z

Reserved: 2026-08-08T09:30:23.512Z

Link: CVE-2026-19331

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-09T05:30:16Z

Weaknesses
  • CWE-22

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