CVE-2026-46555 Details
Description
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.
A vulnerability in the WhatsApp MCP Server's `whatsapp-bridge` HTTP API, prior to version 0.2.1, allows for unauthorized sending of WhatsApp messages and exfiltration of arbitrary files. The API listened on `127.0.0.1:8080` without authentication or Host header validation. The `/api/send` endpoint accepted absolute `media_path` parameters without proper directory confinement. These issues combined enable any local process running as the same user as the bridge to send messages from the paired WhatsApp account and read arbitrary files accessible by the user, such as SSH private keys and browser session data, exfiltrating them as WhatsApp document attachments. Additionally, a remote attacker could exploit the same vulnerabilities via DNS rebinding from a visited webpage, taking advantage of the lack of Host header validation. In MCP environments, sibling MCP servers and certain tool-triggered processes can also act as effective callers, further expanding the scope of the vulnerability.
Users should upgrade to WhatsApp MCP Server version 0.2.1 or later. The update introduces bearer token authentication on the bridge HTTP API, host header allow-list validation to prevent DNS rebinding, and confinement of the `media_path` parameter to a configured directory, rejecting absolute paths outside the root and path traversal sequences. For users unable to upgrade immediately, it is recommended to stop the bridge or block loopback access to port 8080 when not in use, avoid running the bridge with untrusted MCP servers or browser extensions, and consider using a dedicated user account or sandbox/container with no access to sensitive files.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 20, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/verygoodplugins/whatsapp-mcp/blob/main/SECURITY.md | [email protected] | Issue Tracking |
| https://github.com/verygoodplugins/whatsapp-mcp/releases/tag/v0.2.1 | [email protected] | ProductRelease Notes |
| https://github.com/verygoodplugins/whatsapp-mcp/security/advisories/GHSA-7jj9-4qqq-4xc4 | [email protected] | MitigationPatchVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
| CWE-306 | Missing Authentication for Critical Function | [email protected] |
| CWE-346 | Origin Validation Error | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| verygoodplugins whatsapp mcp server | < 0.2.1 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 18, 2026 | Initial Analysis | [email protected] |
| Jul 20, 2026 | CVE Modified | CISA-ADP |
| Jul 20, 2026 | New CVE Received | [email protected] |