Skip to content
GitHub Security Advisories·Indexed by this site · Originally published· Event →· Its place in the scan record →SelectedAttention36

obsidian-sync-mcp unauthenticated mode can be manipulated by webpages via DNS rebinding, fixed in 0.5.7

obsidian-sync-mcp: Missing Host/Origin validation lets a public website drive a victim's Obsidian vault via DNS rebinding (no-auth mode)

AI summary

obsidian-sync-mcp 0.5.6 and earlier versions in unauthenticated mode without MCP_AUTH_TOKEN do not validate Host and Origin headers (CVE-2026-77283); a malicious webpage can use DNS rebinding to impersonate local calls and, without credentials, silently read the entire Obsidian vault and create, overwrite, delete, and move notes; deployments that set MCP_AUTH_TOKEN are not affected. 0.5.7 validates Host and Origin before dispatching MCP methods; Host must be localhost/127.0.0.1/::1 or within MCP_ALLOWED_HOSTS, and cross-origin Origins are rejected; non-browser clients do not send Origin and are not affected. The fix only blocks browser-based attack paths; MCP_AUTH_TOKEN should still be set on untrusted networks, which is also a temporary mitigation applicable to all versions.

Why it was selected

Unauthenticated local MCP endpoints lacking Host/Origin validation can be manipulated by webpages via DNS rebinding; setting MCP_AUTH_TOKEN provides immediate mitigation.

Read originalgithub.com