Skip to main content

Tapo MCP Server CVE-2026-77329

| EUVDEUVD-2026-131665 HIGH
Origin Validation Error (CWE-346)
2026-11-20 security-advisories@github.com
8.8
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Lure victim to malicious web page
  2. Delivery
    DNS-rebind attacker origin to local/LAN listener
  3. Exploit
    Send same-origin request to keyless MCP endpoint
  4. Execution
    Call control_device and take_snapshot tools
  5. Impact
    Actuate smart devices and capture camera snapshots

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Origin validation
Exploitation Conditions

Exploitation requires the Tapo MCP server (0.3.1-0.4.0) to be running with TAPO_MCP_API_KEY UNSET and bound to a reachable local or LAN interface - exactly the documented Docker/--network host deployment that binds 0.0.0.0:3000 without a key. It additionally requires real Tapo account credentials and actual configured devices/cameras (otherwise control_device and take_snapshot have no effect), the listener to be running at the time, and the victim to visit an attacker-controlled page capable of DNS rebinding against that listener (UI:P). Limiting factors that reduce real-world exposure: any deployment with TAPO_MCP_API_KEY set is NOT affected via this unauthenticated path; the attack yields no Tapo account credentials or bearer token; and v0.5.0 restores the loopback-only Host allowlist (opt-in via TAPO_MCP_ALLOWED_HOSTS) and refuses to start on a non-loopback bind without an API key, closing both the rebinding and keyless-exposure paths.

Impact

This is a genuine but conditional risk, not a drop-everything emergency, and the signals mostly agree once read carefully. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:P, VC:H/VI:H/SC:H/SI:H) yields 8.8 High, but two metrics do the heavy lifting of qualifying it: AT:P (a specific attack requirement) and UI:P (victim interaction), which together encode that exploitation only works against a particular deployment state and only after the victim visits an attacker page. PR:N is accurate for the vulnerable path - the GHSA advisory and PoC confirm initialize and tools/list succeed with no Authorization header - but only when TAPO_MCP_API_KEY is unset. There is no EPSS score and no CISA KEV entry in the input, and the vendor explicitly states active exploitation is not claimed; the vuln.today decision label is 'this_week', consistent with a real but non-emergency priority. A working reproduction is published inside the GHSA advisory itself (container repro plus a stated browser DNS-rebinding proof), so this is not a theoretical bug - but it is a PoC reference, not an input-confirmed weaponized exploit. The vendor's own assessment notes practical severity is below the High rating because exploitation is gated on a no-key deployment with real Tapo credentials and devices, a running listener, and a DNS-rebinding-capable victim visit; no Tapo account credentials or bearer tokens are exposed. Net: prioritize patching for anyone running the documented keyless container, but recognize the real-world population is narrow and the impact is bounded to device actuation and camera snapshots.

Exploit ScenarioDerived

A victim runs the Tapo MCP server in the documented Docker configuration (bound to 0.0.0.0:3000 with no TAPO_MCP_API_KEY) with real Tapo credentials and devices configured, then visits an attacker-controlled web page. The page uses DNS rebinding so the browser sends same-origin requests to the victim's local/LAN listener, which - because the Host/Origin allowlist is disabled and no API key is required - accepts initialize and tools/list and then exposed tools. A working reproduction (container curl repro plus a browser DNS-rebinding proof) is published in the GHSA advisory.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 20, 2026

Unauthenticated smart-home device control and camera snapshot capture are reachable through the Tapo MCP server (tapo-mcp 0.3.1 through 0.4.0) because its Streamable HTTP transport disables rmcp's Host-header allowlist and adds no replacement Host or Origin validation, letting a malicious page use DNS rebinding to issue same-origin browser requests to a victim's local or LAN listener when no API key is configured. An attacker who lures a victim to an attacker-controlled site can call exposed tools such as list_devices, control_device (changing plug, light and power-strip state) and take_snapshot (capturing stills from configured Tapo cameras), but only where the server runs in the documented keyless 0.0.0.0:3000 container deployment with real Tapo credentials and devices configured; deployments with TAPO_MCP_API_KEY set are unaffected by this unauthenticated path. A public PoC reference (a curl-based reproduction against the container image) exists in the GHSA advisory; it is not independently verified as working exploit code here, no exploit is confirmed actively exploited (CISA KEV), and the vendor fix is released in 0.5.0.

RemediationAI

Upgrade to tapo-mcp 0.5.0 (container image ghcr.io/mihai-dinculescu/tapo-mcp:0.5.0), which restores rmcp's Streamable HTTP Host-header allowlist to a loopback-only default, adds the TAPO_MCP_ALLOWED_HOSTS environment variable for LAN or remote hostnames and host:port authorities, and refuses to start when binding a non-loopback address such as the image's 0.0.0.0:3000 without TAPO_MCP_API_KEY. Deployments that cannot upgrade immediately should set TAPO_MCP_API_KEY so the bearer-token middleware is applied and bind the listener to a loopback address, which closes the unauthenticated rebinding path; note that after upgrading, LAN clients must be listed in TAPO_MCP_ALLOWED_HOSTS or requests are rejected with 403 Forbidden, and that removing the key from an existing LAN deployment does nothing unless the host allowlist is also restored. The vendor advisory is at https://github.com/mihai-dinculescu/tapo/security/advisories/GHSA-2cwc-6wwp-62q6, the fix commit at https://github.com/mihai-dinculescu/tapo/commit/cb9c5d4372bddfa11f19dc653a27c9aa4fa92833 and the release notes at https://github.com/mihai-dinculescu/tapo/releases/tag/tapo-mcp-v0.5.0; given the conditional exploitation prerequisites, scheduling the upgrade in the normal weekly patch cycle is reasonable.

Affected VersionsENISA

tapo 0.3.1, < 0.5.0

Affected Packages

euvd tapo fix: 0.5.0

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

CWE-346 (Origin validation error, with CWE-350 reliance on reverse DNS resolution also assigned) in the Rust implementation at tapo-mcp/src/server.rs. The service is built on rmcp's StreamableHttpService with LocalSessionManager and is constructed with StreamableHttpServerConfig::default().disable_allowed_hosts(), which removes rmcp's loopback-only Host-header allowlist so that LAN clients can reach the server; the code comment states bearer authentication was intended to be the access control instead. That control is optional: in tapo-mcp/src/lib.rs the axum Router mounts the MCP service at '/' and only applies the require_bearer_token middleware when an API key is present, otherwise it logs that the server is unauthenticated and serves the bare router. The shipped Docker image sets TAPO_MCP_HTTP_ADDR=0.0.0.0:3000, so the listener is reachable on all interfaces, and the documented docker run example does not set TAPO_MCP_API_KEY. With no Host/Origin check and no Authorization requirement, a DNS-rebinding attack that maps an attacker-controlled hostname to 127.0.0.1 or a LAN address produces browser requests whose Host and Origin headers match the attacker origin, and the server accepts them - the advisory shows initialize and tools/list returning HTTP 200 without credentials. The fix in 0.5.0 restores the allowlist (loopback-only by default, with the new TAPO_MCP_ALLOWED_HOSTS environment variable for opt-in LAN/remote hostnames and host:port authorities), and refuses to start when binding a non-loopback address without TAPO_MCP_API_KEY; Origin validation was deliberately not added because a rebinding request necessarily carries the attacker hostname in Host, which the restored allowlist rejects.

Know when Python gets its next vulnerability

  • 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 (github) PRIMARY 8.8 HIGH
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N
vuln.today AI 8.0 HIGH

AC:H because exploitation needs a keyless deployment plus DNS rebinding; UI:R for the victim site visit; S:C as a browser origin gains smart-home device authority; C:H/I:H for snapshots and actuation; A:N per vendor.

3.1 AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 20, 2026 - 18:04 EUVD
CVE Published
Nov 20, 2026 - 17:18 cve.org
HIGH 8.8

DescriptionCVE.org

Tapo provides Rust and Python APIs and an MCP server for TP-Link Tapo smart devices. From 0.3.1 until 0.5.0, the Streamable HTTP implementation in tapo-mcp/src/server.rs calls disable_allowed_hosts() without replacement Host or Origin validation, while TAPO_MCP_API_KEY remains optional for a listener that can bind to all interfaces. A malicious website can use DNS rebinding to send same-origin browser requests to the victim's local or LAN Tapo MCP listener when it runs without an API key. The attacker can invoke exposed tools including control_device for smart-device actuation and take_snapshot for configured cameras. Deployments with TAPO_MCP_API_KEY set are not affected by the unauthenticated path, and exploitation requires a running listener configured with real Tapo credentials and devices, plus victim interaction with the malicious site. This issue is fixed in version 0.5.0.

Technical POC Analysis

Origin validation error (CWE-346; the advisory also lists CWE-350) in tapo-mcp's Streamable HTTP transport.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

CVE-2026-77329 exposes a high-severity authentication bypass in the Tapo MCP server (tapo-mcp 0.3.1-0.4.0) that allows a malicious website to control smart-home devices and capture camera snapshots on a victim's local network through DNS rebinding. Any organization running the documented keyless container deployment with real Tapo devices connected should treat this as a direct physical-security and privacy risk, since plug, light, and power-strip state can be altered and camera imagery exfiltrated without any credentials. Leadership should care because this crosses from IT into physical safety, workplace privacy, and potentially regulated surveillance exposure.

Business Impact: High
Compensating Controls

Set TAPO_MCP_API_KEY on all deployments to disable the unauthenticated path; stop exposing the listener on 0.0.0.0:3000 and restrict it to loopback or trusted segments; isolate smart-home/MCP hosts on a dedicated VLAN; and monitor for unexpected device control or snapshot calls.

Threat Intelligence Overview

EPSS Score
0.4%
Top 62% exploitable
Prevalence
Low
niche open-source MCP server for Tapo devices, small deployment footprint
Data Quality
5 sources
Confidence: Medium

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 HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

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