CVE-2026-19331
Received Received - Intake

Path Traversal in Bazylhorsey Obsidian-MCP-Server

Vulnerability report for CVE-2026-19331, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-09

Last updated on: 2026-08-09

Assigner: VulDB

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-09
Last Modified
2026-08-09
Generated
2026-08-09
AI Q&A
2026-08-09
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
bazylhorsey obsidian-mcp-server to 1.0.0 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a path traversal issue in the bazylhorsey obsidian-mcp-server 1.0.0. It affects the readCanvas and writeCanvas functions in src/services/CanvasService.ts. The flaw allows attackers to manipulate file paths to access or modify files outside the intended vault directory by using relative paths without proper validation.

Detection Guidance

To detect this path traversal vulnerability, inspect the obsidian-mcp-server logs for unusual file access patterns outside the intended vault directory. Check for requests containing sequences like '../' or absolute paths in canvas or template operations. Review the CanvasService.ts and TemplateService.ts files for direct use of user-controlled paths in path.join(vaultPath, userPath) without validation.

Impact Analysis

An attacker could exploit this to read sensitive files or write malicious files on the server. Since the attack requires local access, it primarily affects users running the server on their local machines. Unauthorized file access could lead to data leaks or system compromise.

Compliance Impact

This vulnerability could potentially impact compliance with GDPR and HIPAA by enabling unauthorized access to sensitive files outside intended directories. Path traversal may allow attackers to read or modify files containing personal data or protected health information, violating data integrity and confidentiality requirements.

Mitigation Strategies

Immediately update to a patched version if available. If not, restrict local access to the server and disable canvas/template services until a fix is applied. Implement strict path validation to ensure all user-controlled paths remain within the vault directory and reject traversal sequences or absolute paths.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-19331. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart