CVE-2026-19331 bazylhorsey obsidian-mcp-server CanvasService.ts writeCanvas path traversal

Medium 4.8 Published Updated

Local attackers can exploit path traversal in the CanvasService to read or modify arbitrary files within the Obsidian MCP server.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-19331?

CVE-2026-19331 is a medium-severity path traversal vulnerability in bazylhorsey obsidian-mcp-server, published on 9 Aug 2026. It can only be exploited from the same machine or local network, with no action from the victim.

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

Weakness: CWE-22

Which versions are affected by CVE-2026-19331?

How do I fix CVE-2026-19331?

No fix has been published for CVE-2026-19331 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-19331 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-19331 exists.

Sources

Also known as GHSA-6p38-w68x-9w82.

Is CVE-2026-19331 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free