NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · Other MCP servers and tools

CVE-2026-77361: obsidian-tc : Symlink read-ACL scope bypass via lexical path checks

mediumCVSS 3.1 4.7GHSA-c5xx-h28h-f682

obsidian-tc, an MCP server for Obsidian vaults, checked read permissions on the path as requested instead of the path the symlink points to. A symlink inside an allowed folder could expose a denied folder in the same vault. The flaw is medium severity and needs a symlink planted outside MCP. Upgrade to 1.3.1.

Published Oct 23, 2026 · Analysis Oct 30, 2026

What an attacker can do

obsidian-tc lets you give each token folder allowlists such as readPaths and writePaths. Before the fix, the ACL check ran on the lexical vault-relative path, while the containment check used the real path. A symlink such as public/escape pointing to ../secret passed a readPaths: ['public/**'] rule, because the ACL only saw public/escape/creds.md. The read then landed in the denied folder.

The bypass stays inside the vault. It is not a vault-root escape. The advisory says no MCP tool creates symlinks, so an attacker needs another way to plant one: a synced folder, a shared vault, a cloned repo or a prior local foothold. The CVSS vector reflects this (local, high complexity, low privileges). If an AI agent holds a restricted token, it can read notes the owner meant to hide from it, and a prompt-injected agent could pull them into its output.

The patch was not complete in every respect. The maintainers list hardlinks, a time-of-check/time-of-use window, and case-fold or Unicode aliasing as separate open gaps.

Who is affected

All obsidian-tc npm releases before 1.3.1 are affected. The risk applies only if you use per-token folder ACLs and the vault can contain symlinks you did not create. Affected surfaces are the note tools and resources/read.

Check the installed version:

npm ls obsidian-tc

Then look for symlinks in the vault:

find /path/to/vault -type l

obsidian-tc

Ecosystem
npm
Affected
< 1.3.1
Fixed in
1.3.1
Check
npm ls obsidian-tc

How to fix it

Upgrade to 1.3.1 or later:

npm install [email protected]

The fix resolves the real path first, derives the vault-relative path from it, and feeds one shared ACL check at every request-path call site. The advisory's only workaround is to not allow untrusted symlinks inside the vault.

How to tell if you were hit

Find symlinks in the vault whose targets sit in a folder your ACL denies. Any link under an allowed glob that resolves into a denied folder is a candidate. The advisory gives no log signatures, so review your MCP server's request logs for reads of paths through such links, for example public/escape/creds.md.

The upstream regression test test/acl-symlink-canonical.test.ts shows the exact case. You can recreate it in a scratch vault to confirm that 1.3.1 now denies the read.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Impact

ACL checks ran on the lexical vault-relative path while containment used the realpath. An in-vault symlink placed under an allowed glob, whose realpath resolved into a denied folder, passed the read ACL — an intra-vault read-ACL-scope bypass. It requires an out-of-band-planted symlink (no MCP tool creates one) and is not a vault-root escape.

Patches

Fixed in 1.3.1. Upgrade to >= 1.3.1. ACL enforcement now derives the realpath vault-relative path and feeds a single unified predicate at every site.

Workarounds

Do not permit untrusted symlinks inside the vault.

Credited to suavecito585.

Questions

Can this flaw read files outside my Obsidian vault?

No. The advisory calls it an intra-vault read-ACL bypass and says it is not a vault-root escape. The containment check against the real path still applied. Only folders your ACL denied inside the vault were exposed.

Can an MCP client create the symlink itself?

No. The advisory states that no MCP tool creates symlinks. The link has to be planted out of band, for example by a sync tool, a shared vault or local access to the filesystem.

Is CVE-2026-77361 exploited in the wild?

No source reports exploitation, and it is not in CISA's KEV catalog. EPSS is about 0.1 percent.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology

More Other MCP servers and tools vulnerabilities

All Other MCP servers and tools entries