🔍 CVE-2026-46555

7.7
CVSS Score
HIGH
2026-07-20
2026-10-24 20:10
✅ 완료

🇰🇷 한글 설명

WhatsApp MCP Server 0.2.1 미만 버전에서 인증 부재, Host 헤더 검증 미흡, media_path 파라미터의 경로 제한 부재로 인해 발생하는 취약점입니다. 이를 통해 로컬 프로세스나 DNS 리바인딩 공격을 통해 권한 없이 메시지를 전송하거나 시스템 내 민감한 파일을 탈취할 수 있습니다.

💡 쉬운 설명

WhatsApp 메시지를 관리하는 프로그램에 보안 장치가 없어, 해커가 내 메시지를 마음대로 보내거나 내 컴퓨터의 중요한 파일을 몰래 가져갈 수 있는 문제입니다. 웹사이트 방문만으로도 공격당할 수 있어 매우 위험합니다.

🇺🇸 원문 (English)

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.

📍 영향받는 시스템

WhatsApp MCP Server (whatsapp-mcp) version < 0.2.1

⚔️ 공격 벡터

로컬 프로세스 실행 또는 DNS 리바인딩을 통한 원격 공격

🛡️ 대응 방법

whatsapp-mcp 버전을 0.2.1 이상으로 즉시 업데이트하십시오.

🔧 검증 코드

출력된 버전 번호가 0.2.1 미만이면 취약한 상태입니다.

Shell / Script
npm list -g whatsapp-mcp 2>/dev/null | grep -E 'whatsapp-mcp@'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

💻 영향받는 소프트웨어

Claude Code