Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Same-user local process access required (AV:L, PR:L); no added complexity on loopback once running; high C and I for arbitrary file exfiltration and WhatsApp message impersonation; no availability impact described.
Primary rating from Vendor (GitHub_M).
CVSS VectorNVD
Lifecycle Timeline
7DescriptionNVD
WhatsApp MCP Server is a Model Context Protocol (MCP) server for WhatsApp, enabling Claude to read and send WhatsApp messages. Prior to version 0.2.1, the whatsapp-bridge HTTP API listens on 127.0.0.1:8080 without authentication and without Host header validation, and the /api/send endpoint accepts an absolute media_path parameter without confining it to a safe directory. Combined, these issues allow any local process running as the same user as the bridge to send WhatsApp messages from the paired account without authorization; the same caller to read arbitrary files readable by the user (e.g. SSH private keys, browser session data, source code, dotfiles) and exfiltrate them as WhatsApp document attachments; and/or a remote attacker to trigger the same operations via DNS rebinding from a webpage the user visits, since no Host header validation is performed. In MCP environments, "local caller" extends beyond processes the user explicitly launched - sibling MCP servers, IDE extensions, and tool-triggered flows running in the user's session can act as the effective caller. This issue is fixed in whatsapp-mcp v0.2.1 and corresponding Docker images / release artifacts. Users should upgrade immediately. The fix introduces bearer token authentication on the bridge HTTP API (configured via environment variable, required on all requests, validated with constant-time comparison); host header allow-list validation to prevent DNS rebinding; and confinement of media_path to a configured directory, with rejection of absolute paths outside the root and path traversal sequences. This is a breaking change for clients of the bridge API. For users who cannot immediately upgrade: Stop the bridge, or block loopback access to port 8080, when the bridge is not actively in use; avoid running the bridge alongside untrusted MCP servers, browser extensions, or other untrusted local processes; avoid browsing untrusted sites while the bridge is running (DNS rebinding mitigation); and/or run the bridge under a dedicated user account or in a sandbox/container with no access to sensitive files.
AnalysisAI
Unauthenticated loopback API access and path traversal in WhatsApp MCP Server (whatsapp-mcp) prior to v0.2.1 allow any same-user local process - including sibling MCP servers and IDE extensions - to send WhatsApp messages from the paired account and exfiltrate arbitrary user-readable files (SSH private keys, browser session data, dotfiles) as WhatsApp document attachments. The whatsapp-bridge HTTP service on 127.0.0.1:8080 requires no authentication and validates no Host header, enabling a DNS rebinding attack whereby a malicious webpage visited by the user can trigger identical file exfiltration remotely without any credentials. No public exploit identified at time of analysis; vendor-released patch v0.2.1 is available.
Technical ContextAI
The whatsapp-bridge component of verygoodplugins/whatsapp-mcp (CPE: cpe:2.3:a:verygoodplugins:whatsapp-mcp:*:*:*:*:*:*:*:*) is a Go-based HTTP service acting as a local proxy between the Model Context Protocol (MCP) server layer and the WhatsApp messaging backend. It listens on 127.0.0.1:8080 and exposes REST endpoints including /api/send, which accepts a media_path parameter designating the file to attach to outbound messages. The primary root cause is CWE-22 (Path Traversal): media_path is accepted without confinement to a safe directory, so callers can supply any absolute path readable by the bridge process user, including ~/.ssh/id_rsa or browser profile stores. This is compounded by two missing security controls: bearer-token authentication (absent on all /api/* routes) and Host header validation. The absent Host validation enables DNS rebinding - an attacker's domain is re-resolved to 127.0.0.1 by the victim's browser after initial resolution, causing the browser to issue same-origin fetch() calls to the loopback service. In MCP deployment contexts the implicit 'loopback equals trusted' assumption fails because multiple agents, IDE extensions, and AI-tool-triggered subprocess flows share the same loopback interface under the same OS user account, expanding the effective local caller population far beyond what the user intentionally launched.
RemediationAI
Upgrade to whatsapp-mcp v0.2.1 (released 2026-05-14), available at https://github.com/verygoodplugins/whatsapp-mcp/releases/tag/v0.2.1 and corresponding Docker images. Note this is a breaking change: existing installs must restart both the bridge and MCP server components and configure the WHATSAPP_BRIDGE_TOKEN environment variable, or allow the MCP server to auto-read a generated token from whatsapp-bridge/store/.bridge-token; outbound media files must reside under WHATSAPP_MEDIA_ROOTS or the default outbox directory, and absolute paths outside this root are now rejected. For users unable to immediately upgrade: stop the bridge process or block loopback port 8080 (via host firewall or process kill) when the bridge is not actively in use - this eliminates both the local and DNS rebinding attack surfaces; avoid running the bridge alongside untrusted MCP servers, browser extensions, or other untrusted local processes sharing the same OS user; avoid browsing untrusted websites while the bridge is running, which mitigates DNS rebinding; and consider running the bridge under a dedicated OS user account or inside a container or sandbox with no access to sensitive user files such as ~/.ssh or browser profile directories. These compensating controls reduce but do not fully eliminate exposure - upgrading remains the only authoritative fix, as detailed in SECURITY.md at https://github.com/verygoodplugins/whatsapp-mcp/blob/main/SECURITY.md.
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac
Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post
Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten
Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build
Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config
Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per
Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l
Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c
Vasion Print (formerly PrinterLogic) Virtual Appliance Host prior to version 25.2.169 and Application prior to version 2
Same weakness CWE-22 – Path Traversal
View allSame technique Path Traversal
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-46037