Skip to main content
Vulnerability Database/CVE-2026-77366

CVE-2026-77366: obsidian-tc Auth Bypass Vulnerability

CVE-2026-77366 is an authentication bypass flaw in obsidian-tc Model Context Protocol server that allows valid tokens to access unauthorized vaults. This post explains its impact, affected versions, and mitigation steps.

Published:

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-77366 Overview

CVE-2026-77366 is a critical authorization flaw in obsidian-tc, a governed Model Context Protocol (MCP) server for Obsidian vaults. Versions prior to 1.3.1 fail to bind JSON Web Tokens (JWTs) to a specific vault. The tool dispatcher accepts a caller-controlled input.vault value without validating it against the authenticated session. Any valid token can target any configured vault and read, write, or delete its contents. The folder access-control list (ACL) is also shared globally, compounding the exposure. This issue is tracked as CWE-639: Authorization Bypass Through User-Controlled Key.

Critical Impact

An authenticated low-privilege caller can pivot to any other configured vault and perform full read, write, or delete operations on arbitrary notes.

Affected Products

  • obsidian-tc MCP server versions prior to 1.3.1
  • Deployments exposing the HTTP transport with multi-vault configurations
  • Agent integrations relying on obsidian-tc JWT-based authentication

Discovery Timeline

  • 2026-10-12 - CVE-2026-77366 published to the National Vulnerability Database
  • 2026-10-16 - Last updated in NVD database

Technical Details for CVE-2026-77366

Vulnerability Analysis

The obsidian-tc server dispatches MCP tool calls using a vault identifier supplied in the request body. The dispatcher trusts the input.vault argument without cross-checking it against the vault associated with the authenticated caller. Because the JWT lacks a vault claim, the server has no cryptographically bound identifier to compare against. A caller holding a token issued for Vault A can specify Vault B in the request and operate on it directly.

The folder ACL is shared across all vaults instead of being scoped per vault. Scope checks therefore evaluate permissions against a global policy rather than the caller's intended boundary. The result is cross-tenant data access across every configured vault reachable by the server process.

Root Cause

The root cause is missing authorization binding between the authenticated principal and the resource identifier in the request. The HTTP edge accepts JWTs that do not assert a vault, and the tool registry carries a vaultId in context without enforcing that calls match it. This is a classic [CWE-639] pattern where authorization relies on a parameter the attacker controls.

Attack Vector

The vulnerability is network-reachable and requires only a valid low-privilege token. An attacker with any legitimate credential enumerates configured vault identifiers and submits tool invocations naming a vault other than their own. The server executes the operation against the target vault, enabling note disclosure, content tampering, or deletion.

typescript
// Patch excerpt: packages/server/src/auth/jwt.ts
  caller: string | null;
  /** Scopes granted by the token, from a `scopes` array or space-delimited `scope`. */
  scopes: Set<string>;
+ /** Optional vault binding (`vault` claim). When present, the HTTP edge binds the caller to
+  *  this vault and dispatch rejects any tool call naming a different vault (THE-267). */
+ vault?: string;
}

// Patch excerpt: packages/server/src/mcp/registry.ts
  authenticated: boolean;
  grantedScopes: Set<string>;
  vaultId: string;
+ /** When true, the caller is bound to `vaultId` (HTTP tokens): a tool call whose `vault`
+  *  argument names a different vault is rejected (THE-267), mirroring the resources/read guard.
+  *  The trusted stdio context leaves this unset so the local operator addresses every vault. */
+ vaultBound?: boolean;
  db: Database;
  elicitToken?: string | null;
  acl?: FolderAcl;

Source: GitHub Commit 38b4992. The patch introduces an optional vault claim on the JWT context and a vaultBound flag in the MCP registry context that causes dispatch to reject mismatched input.vault values before scope checks execute.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-77366

Indicators of Compromise

  • Tool invocations where the request input.vault value differs from the vault historically associated with the caller token.
  • Access patterns in which a single caller identifier reads, writes, or deletes notes across multiple vault identifiers in rapid succession.
  • Unexpected modification or deletion of notes within vaults that have no legitimate interaction from the invoking principal.

Detection Strategies

  • Correlate JWT sub or caller claims with the vault parameter in MCP server logs and alert on mismatches against a known caller-to-vault mapping.
  • Baseline per-token vault access and flag deviations, particularly delete and write operations crossing vault boundaries.
  • Inspect running obsidian-tc servers for versions below 1.3.1 and identify instances exposing the HTTP transport externally.

Monitoring Recommendations

  • Enable verbose audit logging on MCP tool dispatch, capturing caller, scopes, and vault argument for each invocation.
  • Forward logs to a centralized analytics pipeline such as the Singularity Data Lake for cross-vault correlation and retention.
  • Track outbound file operations originating from Obsidian vault directories on hosts running the server.

How to Mitigate CVE-2026-77366

Immediate Actions Required

  • Upgrade obsidian-tc to version 1.3.1 or later, which introduces the vault binding and dispatcher guard.
  • Rotate all JWTs issued by prior versions and reissue tokens with the new vault claim.
  • Audit vault contents for unauthorized modifications since the server was first exposed over HTTP.

Patch Information

Version 1.3.1 binds tokens and request context to a vault, rejecting mismatched input.vault values before scope checks. See the GitHub Release v1.3.1, Pull Request #72, and Security Advisory GHSA-84c9-qqpq-2pq5 for details.

Workarounds

  • Restrict the HTTP transport to a single configured vault per server instance until the patch is applied.
  • Place the server behind a reverse proxy that validates per-caller vault identifiers against an external allowlist.
  • Disable the HTTP transport and operate only via the trusted stdio context where the local operator is the sole caller.
bash
# Upgrade to the patched release
npm install obsidian-tc@1.3.1

# Verify the installed version
npm ls 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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.