DNS rebinding exposes unauthenticated Tapo MCP smart-home controls
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-346.
Summary
The Tapo Rust and Python API and MCP server from mihai-dinculescu, from 0.3.1 before 0.5.0, does not validate the Host or Origin of requests to its Streamable HTTP endpoint. A malicious website can use DNS rebinding to send same-origin requests to a Tapo MCP listener on the victim's local or LAN network when no API key is set, which exposes control_device and take_snapshot to unauthenticated callers (CWE-346). Exploiting it requires a running listener with real Tapo credentials and devices, and the victim must visit the malicious site.
Written with Claude Haiku 5.5 from the sources below · 2026-11-20
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| mihai-dinculescu | tapo | 0.3.1 to before 0.5.0 | 0.5.0 | Patch available | CNA |
- tapo Vendormihai-dinculescu Affected 0.3.1 to before 0.5.0 Fixed in 0.5.0 Patch available CNA
Remediation
Update tapo to version 0.5.0. The sources list no fixed version for other releases. Setting TAPO_MCP_API_KEY also blocks the unauthenticated path.
Written with Claude Haiku 5.5 from the sources below · 2026-11-20
- Fix · CNA tapo (mihai-dinculescu) Fixed in 0.5.0
Timeline
- 2026-11-20 Threatist record created from CVE-2026-77329
- 2026-11-20 CISA SSVC decision points changed
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences