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-77364 Overview
CVE-2026-77364 is an information disclosure vulnerability in obsidian-tc, a governed Model Context Protocol (MCP) server for Obsidian vaults. Versions prior to 1.3.1 fail to enforce access control on direct read requests, allowing authenticated callers to retrieve sensitive files under control directories such as .obsidian, .git, and .trash. The flaw stems from undefined readPaths and writePaths defaults, combined with strictReadDefault not applying to direct request paths. Attackers can read files such as .obsidian/plugins/*/data.json, which commonly stores plugin API keys and Obsidian Sync passwords. This issue is tracked under [CWE-200: Exposure of Sensitive Information to an Unauthorized Actor].
Critical Impact
Authenticated MCP clients can exfiltrate plugin API keys, Obsidian Sync credentials, and arbitrary vault data from any obsidian-tc server running a version before 1.3.1.
Affected Products
- obsidian-tc (The-40-Thieves) MCP server versions prior to 1.3.1
- @the-40-thieves/obsidian-tc-shared consumers relying on default ACL behavior
- Obsidian vaults exposed through unpatched obsidian-tc instances
Discovery Timeline
- 2026-10-12 - CVE-2026-77364 published to NVD
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-77364
Vulnerability Analysis
The obsidian-tc server exposes an Obsidian vault to AI agents through the Model Context Protocol. The ACL layer in packages/server/src/acl.ts was designed to restrict access via readPaths and writePaths allowlists, with a strictReadDefault toggle intended to deny access when no allowlist entry matches. In vulnerable releases, undefined allowlist settings resolved to permit-all, and strictReadDefault was only consulted during folder enumeration, not during direct file reads.
An authenticated MCP caller can therefore request paths such as .obsidian/plugins/<plugin>/data.json directly and receive the file contents. These files frequently contain OAuth tokens, API keys for third-party services, and Obsidian Sync credentials. Repository metadata under .git and deleted items under .trash are similarly reachable.
Root Cause
The ACL defaults were fail-open rather than fail-closed. The server excluded control directories (.obsidian, .git, .trash) only during directory listing, giving the appearance of protection while leaving direct read operations unmediated. The strictReadDefault configuration flag was not propagated to the direct-request code path.
Attack Vector
Exploitation requires an authenticated session to the MCP server over the network. The attacker issues a read request for a known sensitive path within the vault. No user interaction is required, and the attack succeeds against any instance using default configuration.
// Security patch in packages/server/src/acl.ts
// Source: https://github.com/The-40-Thieves/obsidian-tc/commit/74de320ddea855e1dec47d67beabe88491149dab
return globToRegExp(glob).test(path);
}
+// Hard default-deny baseline (THE-268): the Obsidian/VCS control directories are never reachable
+// through the folder ACL, regardless of the allowlist, for read/write/delete — `.obsidian/plugins/
+// */data.json` routinely holds plugin API keys and Obsidian Sync passwords. The two config files
+// the M3 bookmark/workspace tools legitimately touch are exempted so those tools keep working.
+const DEFAULT_DENY_ROOTS = [".obsidian", ".git", ".trash"];
+const DEFAULT_DENY_EXEMPT: ReadonlySet<string> = new Set([
+ ".obsidian/bookmarks.json",
+ ".obsidian/workspaces.json",
+]);
+
+/** True when a vault-relative path is under a hard-denied control directory (and not exempt). */
+export function isDefaultDenied(path: string): boolean {
+ if (DEFAULT_DENY_EXEMPT.has(path)) return false;
+ return DEFAULT_DENY_ROOTS.some((r) => path === r || path.startsWith(`${r}/`));
+}
+
export class FolderAcl {
constructor(private readonly cfg: AclConfigT) {}
scopesForPath(path: string): string[] {
The patch introduces a hard default-deny baseline for control directories and exempts only the two files legitimately required by bookmark and workspace tooling.
Detection Methods for CVE-2026-77364
Indicators of Compromise
- Audit log entries from obsidian-tc showing successful read operations against paths beginning with .obsidian/, .git/, or .trash/.
- Unexpected MCP client requests for data.json files under .obsidian/plugins/.
- Outbound traffic from accounts whose plugin API keys were stored in exposed data.json files.
Detection Strategies
- Review obsidian-tc audit output (written via writeEvent in packages/server/src/audit.ts) for direct reads of control-directory paths.
- Correlate MCP session identifiers with any read of paths not present in configured readPaths allowlists.
- Rotate and monitor any credentials previously stored in .obsidian/plugins/*/data.json for anomalous use.
Monitoring Recommendations
- Enable verbose ACL logging on obsidian-tc to capture every path resolution and ACL decision.
- Alert on any MCP tool invocation that reads files matching the glob .obsidian/**, .git/**, or .trash/**, excluding .obsidian/bookmarks.json and .obsidian/workspaces.json.
- Track version strings reported by deployed obsidian-tc instances and flag any running below 1.3.1.
How to Mitigate CVE-2026-77364
Immediate Actions Required
- Upgrade obsidian-tc to version 1.3.1 or later. See the GitHub Release v1.3.1.
- Rotate all plugin API keys, OAuth tokens, and Obsidian Sync passwords that were present in vaults served by vulnerable instances.
- Audit historical MCP request logs for direct reads of .obsidian, .git, or .trash paths.
Patch Information
Version 1.3.1 adds a fail-closed ACL baseline that denies the .obsidian, .git, and .trash control directories regardless of allowlist configuration, and enforces strictReadDefault on direct request paths. Technical details are available in the GitHub Security Advisory GHSA-cvp8-vvgf-69q4, the GitHub Pull Request #73, and the GitHub Commit Details.
Workarounds
- Explicitly configure readPaths and writePaths to narrow allowlists that exclude .obsidian, .git, and .trash.
- Set strictReadDefault to true and verify behavior against direct read requests before trusting it as mitigation.
- Restrict network access to the MCP server so only trusted agents can authenticate, reducing exposure until patching completes.
# Upgrade obsidian-tc to the patched release
npm install @the-40-thieves/obsidian-tc@^1.3.1
# Verify installed version is 1.3.1 or newer
npm ls @the-40-thieves/obsidian-tc
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

