
Python proof-of-concept for CVE-2026-104945: an authenticated ONVIF RemovePreset request that crashes TP-Link Tapo C500 v2.0 cameras, with a dry-run preview mode.
An authenticated ONVIF RemovePreset request can crash main on the TP-Link Tapo C500 v2.0. ONVIF must be enabled in the Tapo app, and the script needs valid camera-account credentials. I reproduced this on firmware 1.3.2. TP-Link lists firmware 1.3.5 Build 260810 as the fix in its security advisory.
Python 3 is enough; there are no external packages. Preview the request without sending it:
python3 poc_onvif_ptz_oob_write.py --host CAMERA_IP --user ONVIF_USER --password ONVIF_PASSWORD --dry-run
Remove --dry-run to run the test on a camera you are testing. The default ONVIF port is 2020.
Released under the MIT License.