
Proof-of-concept Python script that exploits an authentication bypass on Tapo C200 cameras to retrieve a session token (stok) for device control and factory reset.
This is a small proof of concept for the authentication bypass I found on my Tapo C200 V3 (firmware 1.9.1 Build 260326). Im not sure whether it is actually the same vulnerability as CVE-2026-15315, but it sounds like it. See my write-up for details.
The script requests a session token (stok) and prints it. This token can be used to factory reset the device, control its pan/tilt, format the SD card...
Run with Python 3 and requests installed:
python3 get_stok.py 192.168.1.50