Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessUser visits malicious webpage
-
DeliveryDNS rebinding resolves attacker domain to 127.0.0.1
-
ExploitBrowser issues unauthenticated POST to /api/send
-
Executionmedia_path set to sensitive file (SSH key, session token)
-
PersistBridge reads and attaches file without path validation
-
ImpactFile exfiltrated as WhatsApp document to attacker
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The whatsapp-bridge process must be actively running and listening on 127.0.0.1:8080 - it is not a persistent system-level daemon by default, so exploitation is gated on the user having started the bridge. For the local process attack path, the attacker must control a process executing as the same OS user as the bridge; in MCP environments this includes sibling MCP servers, IDE extensions (e.g., VS Code extensions in the same session), and AI-tool-triggered subprocess flows - not only processes the user explicitly started, significantly broadening the local attack surface beyond what 'AV:L, PR:L' intuitively conveys. For the DNS rebinding remote attack path, the user must visit an attacker-controlled webpage in any standard browser while the bridge is active; no browser plugin or special configuration is required. In both cases, the targeted file must be readable by the OS user under which the bridge runs. Exploitation is bounded by: the bridge must be actively running; the attacker must know or enumerate target file paths and a valid destination WhatsApp number; DNS rebinding success presumes the user's resolver does not implement anti-rebinding protections (most home and enterprise resolvers do not). CVSS PR:L confirms a local OS user account is the minimum prerequisite for the direct local path. |
| Impact | The CVSS 3.1 vector AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N scores 7.1 and accurately reflects the direct local attack path, which requires only a same-user process on the local machine with no added complexity once loopback access is established. However, this vector underrepresents the DNS rebinding attack path explicitly described in the CVE, which is effectively AV:N/PR:N with UI:R (user must visit a malicious page) and AC:H (DNS rebinding is a precondition), yielding a lower raw CVSS score but a broader attacker population - any remote threat actor who can surface a malicious URL to the user qualifies. SSVC rates exploitation as 'none' and automatable as 'no', consistent with the 0.19% EPSS (9th percentile) and the absence from CISA KEV; however, SSVC technical impact is 'total', reflecting the severity of achievable outcomes (credential theft, WhatsApp impersonation). The gap between the low EPSS and high potential impact is not contradictory: whatsapp-mcp is a niche developer tool with limited deployment footprint, but those who do deploy it typically run it alongside sensitive user files and authenticated sessions, making the per-instance impact extremely high when exploited. No data conflicts are present - the CVSS local vector, SSVC signals, and EPSS are all mutually consistent for a low-prevalence, high-severity-per-instance vulnerability with no observed exploitation. |
| Exploit ScenarioDerived | A user running whatsapp-bridge on 127.0.0.1:8080 visits an attacker-controlled webpage; the page performs a DNS rebinding attack causing the victim's browser to re-resolve the attacker's domain to 127.0.0.1, then issues a JavaScript fetch() POST to /api/send with media_path set to /home/user/.ssh/id_rsa and a destination WhatsApp number controlled by the attacker. The bridge, receiving no authentication challenge and performing no path confinement, reads the private key and delivers it as a WhatsApp document attachment to the attacker. No public exploit identified at time of analysis, but the attack requires only standard browser-side JavaScript and a DNS provider the attacker controls, with no specialized tooling. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Aug 18, 2026
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.
Earlier versions of this analysis (1)
Arbitrary file exfiltration and unauthorized message-sending in the verygoodplugins whatsapp-mcp project (whatsapp-bridge component before v0.2.1) let any process running as the same OS user, or a remote website via DNS rebinding, drive the bridge's unauthenticated loopback HTTP API on 127.0.0.1:8080. Because the /api/send endpoint accepts an absolute media_path with no directory confinement, an attacker can read files like SSH keys, browser session data, and dotfiles and exfiltrate them as WhatsApp document attachments, and send messages from the victim's paired account. No public exploit identified at time of analysis, and the issue is not in CISA KEV; the practical risk is elevated by the MCP threat model where sibling MCP servers, IDE extensions, and tool-triggered flows count as the local caller.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Whatsapp Mcp gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
4DescriptionNVD
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.
Executive ViewAI
WhatsApp MCP Server (whatsapp-mcp) versions prior to v0.2.1 contain an unauthenticated API vulnerability that enables attackers to send unauthorized WhatsApp messages and exfiltrate sensitive files including SSH keys, credentials, and configuration data from affected developer systems. Organizations and development teams using this MCP integration face significant risks of credential compromise, account hijacking, and unauthorized message transmission.
Apply vendor patch: v0.2.1
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
EUVD-2026-46037
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB