BreachSpiderVerified, not vibes

CVE-2024-31340 in Tapo products

Medium 4.8

TP-Link Tether versions prior to 4.5.13 and TP-Link Tapo versions prior to 3.3.6 do not properly validate certificates, which may allow a remote unauthenticated attacker to eavesdrop on an encrypted communication via a man-in-the-middle attack.

Affects 0 products from 2 vendors. Facts below cite their sources.

CVSS 3.14.8
EPSS0.4%
EPSS percentile23th
FixUnknown

Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no availability impact.

Affected products and versions

VendorProductAffected versions
Tapo — —
Tp-Link — —

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

TP-Link Tether versions prior to 4.5.13 and TP-Link Tapo versions prior to 3.3.6 do not properly validate certificates, which may allow a remote unauthenticated attacker to eavesdrop on an encrypted communication via a man-in-the-middle attack.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2024-31340
BreachSpider IDBS-2024-GLOBAL-191256-M
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Published2024-05-22
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-295: CWE-295

Related attack patterns (CAPEC)

CAPEC-459 Creating a Rogue Certification Authority Certificate via CWE-295

CAPEC-475 Signature Spoofing by Improper Validation via CWE-295

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

TP-Link Tether versions prior to 4.5.13 and TP-Link Tapo versions prior to 3.3.6 are vulnerable to a man-in-the-middle attack due to improper certificate validation, allowing an attacker to eavesdrop on encrypted communications.

An attacker can intercept and potentially decrypt traffic between the affected TP-Link devices and their servers by exploiting the improper certificate validation. This can be achieved by setting up a rogue server that mimics the legitimate server, tricking the device into establishing a connection with the attacker's server.

Questions

What is CVE-2024-31340?

TP-Link Tether versions prior to 4.5.13 and TP-Link Tapo versions prior to 3.3.6 are vulnerable to a man-in-the-middle attack due to improper certificate validation, allowing an attacker to eavesdrop on encrypted communications.

What is the CVSS score for CVE-2024-31340?

CVE-2024-31340 has CVSS 4.8 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N. EPSS: 0.4%.

Is CVE-2024-31340 actively exploited?

No confirmed active exploitation of CVE-2024-31340 as of 2026-09-25.

How do I remediate CVE-2024-31340?

Priority: HIGH.

What systems are affected by CVE-2024-31340?

CVE-2024-31340 affects Tapo; Tp-Link.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Tapo","product":"EDS-518A","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.