Skip to main content

whatsapp-mcp EUVDEUVD-2026-33646

| CVE-2026-10264 LOW
Path Traversal (CWE-22)
2026-06-01 cna@vuldb.com GHSA-frgv-ppw5-432r
2.0
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain adjacent network access to bridge host
  2. Delivery
    Authenticate with low-privilege REST API credentials
  3. Exploit
    Send crafted /api/send request with traversal mediaPath
  4. Execution
    Server calls os.ReadFile() on attacker-specified path
  5. Impact
    Receive 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 (0.0.0.0) in version 0.0.1. The attacker must hold low-privilege credentials sufficient to call the REST API (PR:L in CVSS 4.0 vector). The Send API endpoint must be reachable and the bridge process must be running. Exploitation is strictly limited to reading files accessible to the OS user running the bridge - no write, delete, or code execution capability is introduced by this vulnerability. The pre-patch loopback-binding absence (binding to 0.0.0.0 instead of 127.0.0.1) is a prerequisite for network-adjacent exploitation; local-only deployments where the REST port is firewalled to loopback face significantly reduced exposure even on unpatched versions.

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 /api/send with mediaPath set to a traversal sequence such as ../../etc/passwd or an absolute path to a sensitive file. The server, without validation, passes the value to os.ReadFile() and reads the targeted file. A public proof-of-concept for this technique has been disclosed per the CVE description.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

whatsapp-mcp 0.0.1

Affected Packages

euvd whatsapp_mcp no fix

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

Vendor (vuldb) PRIMARY 2.0 LOW
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

Attack Vector
Adjacent
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.0%
Top 94% exploitable
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
Poc
System Exposure· derived
Controlled
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy