Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain adjacent network access to bridge host
-
DeliveryAuthenticate with low-privilege REST API credentials
-
ExploitSend crafted /api/send request with traversal mediaPath
-
ExecutionServer calls os.ReadFile() on attacker-specified path
-
ImpactReceive targeted file contents in API response
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 attacker must be on the same adjacent network as the host running whatsapp-mcp (AV:A in CVSS 4.0 vector), as the server bound to all interfaces ( |
| Impact | The CVSS 4.0 base score of 2.0 accurately reflects a constrained threat. AV:A (Adjacent Network) means exploitation requires LAN or equivalent proximity - the unauthenticated internet is not a viable attack surface. PR:L (Low Privileges) further limits exposure to callers already authenticated to the REST API. The exploitability modifier E:P confirms a public PoC exists, which marginally elevates urgency for operators who have not yet patched. VC:L (Low Confidentiality) indicates partial file disclosure, not full credential or secret exfiltration in every case, though the actual sensitivity of readable files depends on what the process user can access. There is no integrity (VI:N) or availability (VA:N) impact confirmed. No CISA KEV listing exists, and EPSS data is not provided in the input. Taken together, this is a real but low-severity finding: it is not automatable at scale, requires proximity, and carries low impact metrics. Priority should be highest for deployments where the bridge process runs as a privileged user or where sensitive files reside on the same host. |
| Exploit ScenarioDerived | An attacker on the same local network as the running whatsapp-mcp bridge (prior to the loopback-binding fix) with low-privilege API access sends a POST request to |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 01, 2026
Path traversal in whatsapp-mcp 0.0.1 exposes arbitrary server files to authenticated adjacent-network attackers via the mediaPath argument of the Send API endpoint (/api/send). The sendWhatsAppMessage function in whatsapp-bridge/main.go passed the caller-supplied path directly to os.ReadFile() without sanitization, allowing traversal sequences to reference files outside any intended directory. A proof-of-concept exploit has been publicly disclosed (CVSS 4.0 E:P), though no active exploitation is confirmed and no CISA KEV listing exists. The overall CVSS 4.0 score of 2.0 reflects narrow real-world impact: adjacent-network exposure only, low confidentiality loss, and no integrity or availability impact.
RemediationAI
Apply the upstream fix available at commit 6657cdceadd361e8fbe824afe9d00b4504009a5d (https://github.com/BenGedi/whatsapp-mcp/commit/6657cdceadd361e8fbe824afe9d00b4504009a5d), submitted as pull request #1 against the upstream repository (https://github.com/lharries/whatsapp-mcp/pull/1). No tagged patched release version has been confirmed - this is an upstream fix commit only, not a versioned release. If applying the patch directly is not possible, operators should immediately restrict network access to the REST server port using host-based firewall rules (e.g., iptables -A INPUT -p tcp --dport <PORT> ! -s 127.0.0.1 -j DROP) to prevent adjacent-network exploitation - this replicates the loopback-binding change included in the fix. Note that this workaround does not eliminate the path traversal logic flaw; it only reduces the attack surface. Running the bridge process under a least-privilege OS user account limits the files an attacker can read if exploitation occurs. The patch also includes floor pins for h11>=0.16.0 and urllib3>=2.5.0 in whatsapp-mcp-server/pyproject.toml to address separate transitive dependency CVEs; these should be verified after applying the fix.
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 vulnerable code is in whatsapp-bridge/main.go within the sendWhatsAppMessage function, where the mediaPath field of a SendMessageRequest struct is consumed by os.ReadFile(mediaPath) without prior validation. CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) is the root cause: the application trusts attacker-controlled input to construct a filesystem path. The commit diff reveals two additional traversal surfaces also fixed in the same patch: (1) the chatJID parameter used in fmt.Sprintf("store/%s", ...) without sanitization, and (2) document filenames extracted via doc.GetFileName() used without filepath.Base() isolation. Critically, the server previously bound to 0.0.0.0:port (all interfaces), which is why the CVSS 4.0 vector sets AV:A (Adjacent Network) rather than AV:L (Local) - the REST API was reachable from other hosts on the LAN. The fix binds the server exclusively to 127.0.0.1, collapsing the network attack surface to loopback-only post-patch.
Know when the next one hits your stack
- 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
CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (vuldb) · only source for this CVE.
CVSS VectorVendor: vuldb
DescriptionCVE.org
A vulnerability was determined in lharries whatsapp-mcp 0.0.1. Affected by this vulnerability is the function SendMessageRequest of the file whatsapp-bridge/main.go of the component Send API Endpoint. This manipulation of the argument mediaPath causes path traversal. The exploit has been publicly disclosed and may be utilized. Patch name: 6657cdceadd361e8fbe824afe9d00b4504009a5d. It is recommended to apply a patch to fix this issue.
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-33646
GHSA-frgv-ppw5-432r
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB