Skip to main content

Tapo C520WS v2 CVE-2026-6242

| EUVDEUVD-2026-34937 MEDIUM
Use of Externally-Controlled Format String (CWE-134)
2026-06-05 TPLink GHSA-m9ww-xwm5-pf57
6.8
CVSS 4.0 · Vendor: TPLink
View

Attack ChainAIDerived

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

  1. Recon
    Obtain admin credentials via reuse or default password
  2. Delivery
    Access camera ONVIF service on adjacent network
  3. Exploit
    Craft malicious ONVIF Subscribe request with format string specifiers
  4. Install
    Submit request to event subscription or notification generation endpoint
  5. C2
    Trigger format string processing in vulnerable function
  6. Execute
    Crash ONVIF Subscribe service process
  7. Impact
    Disable real-time alarm and event notification functionality

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Format string safety
Exploitation Conditions

Exploitation requires three concurrent conditions: (1) adjacent network positioning - the attacker must be on the same LAN or network segment as the camera (AV:A per CVSS vector; internet-based exploitation is not possible without prior network penetration); (2) high-privilege authentication - admin-level credentials on the Tapo C520WS v2 are required (PR:H per CVSS vector; unauthenticated or low-privileged attackers cannot exploit this vulnerability); and (3) the ONVIF Subscribe service must be active and reachable, which is typical in deployments using third-party NVR software or ONVIF-compatible management platforms. Exploitation is further limited by the availability-only impact scope - no confidentiality or integrity compromise of camera data, credentials, or network scope is achievable through this vulnerability per the CVSS vector (VC:N/VI:N/SC:N/SI:N/SA:N).

Impact

The CVSS 4.0 score of 6.8 (Medium) accurately reflects a constrained threat model: AV:A restricts the attack surface to the local network segment, PR:H demands admin-level credentials, and impact is bounded to availability only (VA:H) with zero confidentiality or integrity exposure (VC:N/VI:N/SC:N/SI:N). No EPSS data was supplied, and this CVE does not appear in CISA KEV - indicating no confirmed active or widespread exploitation. No public proof-of-concept has been identified. The self-disclosure by TP-Link is consistent with a proactive internal discovery rather than externally-reported exploitation. The primary real-world risk concentrates in physical security deployments where camera admin credentials are weak, shared, or compromised via credential reuse, and where silent loss of event notification could create an undetected security gap. This is not a high-priority emergency patch for most organizations but warrants prompt remediation in deployments where ONVIF event availability is operationally critical.

Exploit ScenarioDerived

An attacker who has obtained admin credentials to a Tapo C520WS v2 - whether via credential reuse, default password, or prior compromise - sends a crafted ONVIF Subscribe request over the local network containing format string specifiers (e.g., %n, %s, %x) embedded in the event subscription parameters or notification generation path. The vulnerable formatting function in the Subscribe service processes the specifiers without sanitization, causing a stack corruption or invalid memory access that terminates the service process. The camera continues to operate normally for video streaming, but all motion detection alerts and event notifications are silently dropped until the service recovers, creating an undetected blind spot in the physical security posture.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 06, 2026

Format string injection in the TP-Link Tapo C520WS v2 ONVIF Subscribe service allows a high-privileged attacker on the same network segment to crash the camera's event notification service by supplying crafted format string specifiers in subscription requests or notification generation parameters. Successful exploitation terminates the ONVIF Subscribe service unexpectedly, silently disabling real-time motion alerts and alarm notifications until service recovery or device reboot - a safety-relevant impact in physical security deployments. No public exploit code has been identified at time of analysis, and TP-Link has self-disclosed the issue alongside a firmware patch.

RemediationAI

The primary fix is to update the Tapo C520WS v2 to the latest firmware version available from TP-Link's official download page at https://www.tp-link.com/us/support/download/tapo-c520ws/#Firmware-Release-Notes and consult the advisory at https://www.tp-link.com/us/support/faq/5120/ for confirmed patched version details. Note: the exact patched firmware version number is not specified in currently available advisory data - apply the most recent release listed and verify against the release notes. As compensating controls while patching, administrators should restrict network access to the camera's ONVIF service port (typically TCP 80/8080 and RTSP 554) via VLAN segmentation or firewall ACLs, limiting reachability to trusted NVR hosts only - this addresses the AV:A prerequisite and raises the bar significantly. Enforcing strong, unique administrative credentials removes the PR:H prerequisite for opportunistic attackers. Disabling ONVIF event subscription entirely eliminates the attack surface but will break third-party NVR event integration as a side effect.

Affected VersionsENISA

Tapo C520WS v2 0 <1.2.6 Build 260528

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The Tapo C520WS v2 is a TP-Link Wi-Fi security camera implementing the ONVIF (Open Network Video Interface Forum) protocol, an industry standard for IP camera interoperability. The ONVIF Subscribe service handles event subscription lifecycle and notification delivery between the camera and upstream management clients such as NVR software. CWE-134 (Use of Externally-Controlled Format String) describes the root cause class: user-supplied data is passed insufficiently sanitized into a C-style format function (e.g., printf family), allowing an attacker to inject format specifiers like %s or %n that manipulate stack reads and cause service crashes or potentially arbitrary memory corruption. The CPE string cpe:2.3:a:tp-link_systems_inc.:tapo_c520ws_v2:*:*:*:*:*:*:*:* with a wildcard version field confirms all firmware versions of the v2 hardware line are affected prior to the patch. The CVSS 4.0 adjacent network vector (AV:A) is consistent with ONVIF services being LAN-scoped and not directly internet-routable in standard deployments.

Know when Tapo C520Ws V2 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 (TPLink) PRIMARY 6.8 MEDIUM
CVSS:4.0/AV:A/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (TPLink) · only source for this CVE.

CVSS VectorVendor: TPLink

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

Lifecycle Timeline

1
CVSS changed
Jun 06, 2026 - 00:22 NVD
6.8 (MEDIUM)

DescriptionCVE.org

An authenticated format string vulnerability exists in the ONVIF Subscribe service in Tapo C520WS v2 due to improper handling of externally supplied parameters within formatting functions. An attacker may inject crafted format strings into event subscription requests or notification generation path to disrupt normal service execution.

Successful exploitation may cause the event notification service to terminate unexpectedly, resulting in the loss of real-time alarm functionality and disruption of event notifications.

Threat Intelligence Overview

EPSS Score
0.0%
Top 97% exploitable
Social Media
1
Sightings
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
None
System Exposure· derived
Controlled
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

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