CVE-2026-77366 is a critical authorization-bypass (CWE-639/CWE-863) in the obsidian-tc MCP server. The root cause is that tool dispatch resolved the caller-supplied input.vault argument against ANY configured vault under a single global folder ACL, without ever checking it against the caller's bound vault (ctx.vaultId). The JWT carried no vault claim, and the HTTP edge hardcoded ctx.vaultId to the server's default vault, so any valid bearer token could read, write, or delete every configured vault by simply passing a different vault id in the tool call.
The fix (commit 38b4992e87dc2715564236e1a42d005ab05a0194, PR #72) added a central input.vault === ctx.vaultId guard in dispatch. The vulnerable functions are those in the dispatch/authorization pipeline that processed the caller-supplied vault argument without the binding check, plus the HTTP/JWT authentication functions that failed to bind the token to a vault. The primary vulnerable function is runDispatch (the dispatch orchestrator that lacked the guard), with runAuthorizationGates and enforceVaultBinding being the authorization-gate functions where the missing check was inserted. The HTTP edge functions contextFromAuthInfo and resolveAuth, and the JWT functions identityFrom/verifyJwt, are the authentication-path functions that failed to carry/bind the vault claim.
Note: enforceVaultBinding is the mitigation function ADDED by the patch (it did not exist in the vulnerable version), so it is included here as the security-control function that was introduced to close the gap, while runDispatch, runAuthorizationGates, contextFromAuthInfo, resolveAuth, identityFrom, and verifyJwt are the functions that existed in the vulnerable version and were modified to add the missing binding.