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.
Published: 2026-07-20
Score: 7.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

WhatsApp MCP Server exposes an unprotected HTTP bridge API that allows sending WhatsApp messages and reading arbitrary files. Before v0.2.1 the '/api/send' endpoint accepts an absolute media_path parameter without directory confinement, and all requests are accepted without authentication or host header checks. The combination lets a local process running under the same user as the bridge send messages from the paired account and attach any readable file as a WhatsApp document, effectively exfiltrating data such as SSH private keys or browser session data. Because no host header validation is performed, a remote attacker can exploit DNS rebinding tricks to reach the bridge from a web page the user visits.

Affected Systems

Affected product is WhatsApp MCP Server from verygoodplugins, version 0.1.x and any build before 0.2.1 that listens on 127.0.0.1:8080 without authentication. No explicit version list beyond the threshold; any installation running a pre‑v0.2.1 build is vulnerable.

Risk and Exploitability

The vulnerability has a CVSS score of 7.7, indicating moderate to high severity. The EPSS score is less than 1%, showing a very low probability of exploitation at the time of this analysis. The flaw is not listed in CISA KEV. Local attackers can exploit the flaw by running any process under the same user account as the bridge, a common scenario in MCP environments where sibling servers or IDE extensions share a session. Remote attackers could trigger the same behaviour via DNS rebinding, since host header validation is missing and the bridge listens on localhost. Once the bridge is running, the attacker can send unauthorized WhatsApp messages and exfiltrate any file readable by the bridge user, resulting in full confidentiality, integrity and availability impacts.

Generated by OpenCVE AI on July 30, 2026 at 18:53 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade WhatsApp MCP to version 0.2.1 or newer, which adds bearer token authentication, host header validation, and media_path confinement.
  • If an upgrade is not immediately possible, stop the bridge or block loopback access to port 8080 when the bridge is not in use.
  • Avoid running the bridge alongside untrusted MCP servers, browser extensions, or other local processes that share the same user session.
  • Do not browse untrusted websites while the bridge is running to mitigate DNS rebinding attacks.
  • Run the bridge under a dedicated, restricted user account or inside a sandbox/container with no access to sensitive files.

Generated by OpenCVE AI on July 30, 2026 at 18:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 23 Jul 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Verygoodplugins
Verygoodplugins whatsapp-mcp
Vendors & Products Verygoodplugins
Verygoodplugins whatsapp-mcp

Mon, 20 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 20 Jul 2026 17:15:00 +0000

Type Values Removed Values Added
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.
Title WhatsApp MCP: Unauthenticated bridge API allows message sending and arbitrary file exfiltration
Weaknesses CWE-22
CWE-306
CWE-346
References
Metrics cvssV3_1

{'score': 7.7, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}


Subscriptions

Verygoodplugins Whatsapp-mcp
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-20T17:35:17.593Z

Reserved: 2026-05-14T20:42:31.369Z

Link: CVE-2026-46555

cve-icon Vulnrichment

Updated: 2026-07-20T17:35:13.184Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-07-20T17:17:09.820

Modified: 2026-07-23T18:04:42.997

Link: CVE-2026-46555

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T19:00:09Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

  • CWE-306

    Missing Authentication for Critical Function

  • CWE-346

    Origin Validation Error