{"id":"CVE-2026-77329","summary":"Tapo: DNS rebinding reaches unauthenticated Tapo MCP smart-home controls","details":"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.","aliases":["GHSA-2cwc-6wwp-62q6"],"modified":"2026-11-21T21:00:55.526109386Z","published":"2026-11-20T16:57:40.772Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-346","CWE-350"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77329.json"},"references":[{"type":"WEB","url":"https://github.com/mihai-dinculescu/tapo/releases/tag/tapo-mcp-v0.5.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77329.json"},{"type":"ADVISORY","url":"https://github.com/mihai-dinculescu/tapo/security/advisories/GHSA-2cwc-6wwp-62q6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77329"},{"type":"FIX","url":"https://github.com/mihai-dinculescu/tapo/commit/cb9c5d4372bddfa11f19dc653a27c9aa4fa92833"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mihai-dinculescu/tapo","events":[{"introduced":"3b6a65c665839cf36505bde3b0b92c33f000eab4"},{"fixed":"ac4337396d8e67114a00b0714438684dbd32f6be"},{"fixed":"cb9c5d4372bddfa11f19dc653a27c9aa4fa92833"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0.3.1"},{"fixed":"0.5.0"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"cb9c5d4372bddfa11f19dc653a27c9aa4fa92833"}]},{"original_tag":"tapo-mcp-v0.5.0","range":[{"fixed":"ac4337396d8e67114a00b0714438684dbd32f6be"}],"source":"REFERENCES_TAG"}]}}],"versions":["v0.4.0","v0.3.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-77329.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}