Quick Take
- What: CVE-2026-77283, a DNS rebinding and cross-origin vulnerability in obsidian-sync-mcp (an MCP server for Obsidian vaults), CVSS 8.8 high.
- Who is affected: Users running obsidian-sync-mcp version 0.5.6 or earlier without the MCP_AUTH_TOKEN environment variable set.
- What to do: Upgrade to version 0.5.7 immediately, or set MCP_AUTH_TOKEN on any version to require authentication.
- Impact: A malicious website visited by the operator can silently read the entire vault and create, overwrite, delete, or move notes with no credentials.
- Mitigation: Deployments that already use MCP_AUTH_TOKEN are not affected because browsers do not attach the bearer token.
In plain English
obsidian-sync-mcp is a tool that lets AI agents read and edit notes in Obsidian, a popular note-taking app. If it ran on your computer without a password (the documented setup for local use), any website you visited while it was running could secretly connect to it and read or change all your notes. Version 0.5.7 fixes this by rejecting requests that come from a web page.
What you should do: If you use this tool, update to 0.5.7 or set a password with MCP_AUTH_TOKEN; if you do not use obsidian-sync-mcp, you do not need to do anything.
What happened
obsidian-sync-mcp is an MCP (Model Context Protocol) server that exposes Obsidian vaults to AI agents over HTTP. Prior to version 0.5.7, deployments running without the MCP_AUTH_TOKEN environment variable did not install any serverOptions.authenticate check for the HTTP /mcp endpoint, according to the GitHub security advisory GHSA-mx6p-3fg7-v6pj.
Because the server dispatched requests without validating the Host or Origin headers, a malicious website visited by the operator could exploit two attack vectors:
1. DNS rebinding: The attacker’s page resolves an attacker-controlled hostname to 127.0.0.1 (or the operator’s LAN, VPN, or Docker-published address), sending a forged Host header the server accepts as a trusted local call.
2. Direct cross-origin fetch: The page issues a cross-origin request directly to 127.0.0.1:8787 with a genuine loopback Host but an attacker-controlled Origin. The transport’s wildcard Access-Control-Allow-Origin: * header exposes the response, so no DNS rebinding is required.
Either method grants the attacker access to the full MCP tool surface: read_note, write_note, edit_note, delete_note, move_note, list_notes, list_folders, list_tags, and get_note_metadata. The advisory states that the attacker’s JavaScript can “silently read the entire vault and create/overwrite/delete/move notes, with no credentials and no prompt.”
The vulnerability is tracked as CVE-2026-77283 with a CVSS score of 8.8 (high severity). It affects all deployments running version 0.5.6 or earlier without MCP_AUTH_TOKEN, including the README “Filesystem mode (simplest)” quickstart and the self-hosted docker-compose setup (where MCP_AUTH_TOKEN defaults to empty). In CouchDB/Self-hosted LiveSync mode, vault content in CouchDB is equally reachable through the same code path.
Deployments that set MCP_AUTH_TOKEN are not affected because browsers do not attach the bearer token to cross-origin requests, so forged requests return HTTP 401.
What you should do
Upgrade to version 0.5.7 of obsidian-sync-mcp. The patched release validates both the Host and Origin headers in no-auth mode: any request whose Host is not localhost, 127.0.0.1, ::1, or a value in the new MCP_ALLOWED_HOSTS environment variable, or that carries a cross-origin Origin not in that allowlist, is rejected before any MCP method runs. The Host check defeats DNS rebinding; the Origin check defeats the direct loopback fetch bypass.
Workaround for any version: Set the MCP_AUTH_TOKEN environment variable to require authentication. This closes the attack path immediately because browsers will not attach the bearer token to cross-origin requests.
Non-browser MCP clients send no Origin header and are unaffected by the new checks. However, the advisory notes that on untrusted networks a direct non-browser network client can still forge both headers, so setting MCP_AUTH_TOKEN remains the recommended practice for production deployments.
What it means
CVE-2026-77283 is a textbook example of the risks that emerge when AI agent frameworks expose powerful tool surfaces over HTTP without robust origin validation. The MCP (Model Context Protocol) ecosystem is designed to let AI assistants interact with local data and services, but the convenience of local-only assumptions breaks down in the presence of web-based attacks like DNS rebinding and cross-origin requests.
The 8.8 CVSS score reflects the high confidentiality and integrity impact: an attacker who successfully exploits the flaw gains read and write access to the victim’s entire Obsidian vault, which may contain sensitive personal notes, research or proprietary information. The attack requires no privileges and only passive user interaction (visiting a malicious website), making it practical for opportunistic or targeted campaigns.
The vulnerability underscores the importance of defense-in-depth for MCP servers and similar agent tools. While the transport layer’s wildcard CORS policy (Access-Control-Allow-Origin: *) is common in local-only services, it must be paired with application-layer checks on Host and Origin to prevent cross-origin abuse. The 0.5.7 fix adds these checks as a compensating control, rejecting malicious requests before any response body is produced.
For users, the lesson is clear: if you run an MCP server or any AI agent tool that listens on a network port, always enable authentication (MCP_AUTH_TOKEN in this case) unless you are certain the service is isolated from both the public internet and untrusted local networks. The simplest quickstart configuration is rarely the safest for real-world use.
Local MCP servers that listen over HTTP keep running into the same browser problem: see our reports on the Todoist MCP server DNS rebinding flaw and the pgEdge Postgres MCP Server DNS rebinding flaw. New cases are tracked in our AI Security hub.
Sources
- NVD CVE-2026-77283
- GHSA-mx6p-3fg7-v6pj



