Read the docs

DNS rebinding exposes unauthenticated Tapo MCP smart-home controls

Priority HIGH 73CWE-346Published · Updated

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

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00256 10th percentileScored 2026-11-30
Fix Fixed tapo (mihai-dinculescu): 0.5.0

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

VendorProductAffected versionsFixed inStatusSource
mihai-dinculescutapo0.3.1 to before 0.5.00.5.0Patch availableCNA
  • 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

  1. 2026-11-20 Threatist record created from CVE-2026-77329
  2. 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