Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-77361 Overview
CVE-2026-77361 is a symlink-based access control bypass in obsidian-tc, a governed Model Context Protocol (MCP) server for Obsidian vaults. Versions prior to 1.3.1 perform read access-control list (ACL) checks against the lexical vault-relative path, while containment checks use the resolved path. An attacker who can plant a symlink inside the vault under an allowed glob can point it at a denied folder and read files that the ACL should block. The vulnerability is classified as [CWE-59] Improper Link Resolution Before File Access.
Critical Impact
An in-vault symlink under an allowed glob that resolves into a denied folder can bypass the read ACL and expose files in the denied folder.
Affected Products
- obsidian-tc Model Context Protocol server versions prior to 1.3.1
- MCP integrations consuming the enforcePathAcl read path in packages/server/src/mcp/resources.ts
- MCP integrations consuming the frontmatter tool in packages/server/src/tools/m1/frontmatter-tools.ts
Discovery Timeline
- 2026-10-13 - CVE-2026-77361 published to NVD
- 2026-10-13 - Last updated in NVD database
Technical Details for CVE-2026-77361
Vulnerability Analysis
The obsidian-tc server enforces per-path read ACLs so that MCP clients and agents can only access permitted areas of an Obsidian vault. ACL evaluation and filesystem containment are performed on two different representations of the path. The ACL check receives the vault-relative path as supplied by the caller, while containment uses the resolved absolute path. When a symbolic link resides inside an allowed directory, the lexical path matches an allowed glob and passes the ACL check. The resolved path, however, points into a denied folder, and the file read proceeds against that denied target. Exploitation requires that the attacker already has the ability to plant a symlink inside the vault through an out-of-band channel. The flaw does not permit escape outside of the vault root, limiting impact to confidentiality of in-vault but ACL-denied content.
Root Cause
The root cause is inconsistent canonicalization between policy enforcement and I/O. enforcePathAcl(ctx.acl, "read", rel) evaluated the raw vault-relative path, while resolveVaultPath(v.root, rel) dereferenced symlinks before the subsequent read. Because the ACL did not consider the resolved target, a symlink functioned as an alias that bypassed the denied-folder policy.
Attack Vector
Exploitation is local and requires low-privileged access that can place a symlink inside the vault, plus the ability to invoke the MCP server's read or frontmatter tools. The attacker creates a symlink at a path matching an allowed glob and points it at a denied folder or file. A subsequent read or frontmatter lookup through the MCP server returns the contents of the denied target.
// Patch: packages/server/src/mcp/resources.ts
});
const v = vaultRegistry.resolve(vaultId);
const rel = normalizeVaultPath(relPath);
- enforcePathAcl(ctx.acl, "read", rel);
+ enforcePathAcl(ctx.acl, "read", rel, v.root);
const abs = resolveVaultPath(v.root, rel);
// Stat before reading: readNote loads the whole file into memory, so enforcing the ceiling
// only after the read would let any read:notes caller point at a multi-hundred-MB file and
// Patch: packages/server/src/tools/m1/frontmatter-tools.ts
const v = deps.vaultRegistry.resolve(input.vault);
const rel = normalizeVaultPath(input.path);
const abs = resolveVaultPath(v.root, rel);
- enforcePathAcl(ctx.acl, "read", rel);
+ enforcePathAcl(ctx.acl, "read", rel, v.root);
const ex = noteExists(abs);
if (!ex.exists || ex.type === "folder")
throw err.noteNotFound("note not found", { path: rel });
// Source: https://github.com/The-40-Thieves/obsidian-tc/commit/c81d1687e2cfec98a0d8bc5038c029f41ea9c920
The patch adds the vault root to enforcePathAcl, allowing the function to canonicalize the path and apply policy against the resolved vault-relative location.
Detection Methods for CVE-2026-77361
Indicators of Compromise
- Presence of symbolic links inside an Obsidian vault that target directories outside the allowed ACL scope.
- MCP server access logs showing successful read or frontmatter operations on vault-relative paths whose resolved targets fall inside policy-denied folders.
- Files appearing in MCP responses that reference content from directories explicitly denied in the server ACL configuration.
Detection Strategies
- Enumerate symlinks inside each managed vault and compare link targets against the configured read/write ACL globs.
- Audit obsidian-tc server version strings across hosts and flag any instance earlier than 1.3.1.
- Correlate MCP read responses with the resolved absolute path to confirm the delivered content came from an ACL-permitted location.
Monitoring Recommendations
- Enable filesystem auditing on vault roots to log symlink(2) creations and attribute them to a user or process.
- Monitor the MCP server for anomalous read volume targeting administrative or secrets folders mapped under the vault tree.
- Alert on process writes that create symlinks whose targets escape the glob boundaries described in the ACL policy.
How to Mitigate CVE-2026-77361
Immediate Actions Required
- Upgrade obsidian-tc to version 1.3.1 or later on every host running the MCP server.
- Inventory each vault for pre-existing symlinks and remove or relocate any whose resolved target lies inside a denied folder.
- Restrict write access to vault directories so that only trusted users and automation can create files or links.
Patch Information
Version 1.3.1 fixes the vulnerability by passing the vault root to enforcePathAcl and applying ACL checks to the resolved vault-relative path. See the GitHub Security Advisory GHSA-c5xx-h28h-f682, Pull Request #76, the fix commit c81d168, and the v1.3.1 release notes.
Workarounds
- Disable or disallow symbolic links inside vault roots at the operating system or filesystem level where supported.
- Run the MCP server as a dedicated low-privileged user whose filesystem view does not include ACL-denied directories referenced by potential symlink targets.
- Periodically scan vaults for symbolic links whose resolved paths fall outside of the configured allow-list and remove them.
# Identify symlinks under a vault root whose targets escape allowed globs
find /path/to/vault -type l -print0 | \
xargs -0 -I{} sh -c 'printf "%s -> %s\n" "{}" "$(readlink -f "{}")"'
# Upgrade obsidian-tc to the patched release
npm install obsidian-tc@1.3.1
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

