The vulnerability stems from a lack of proper input validation and sanitization within the Blink XT2 Sync Module's firmware update process. Specifically, the device downloads update scripts from the internet without adequately verifying the integrity or content of these scripts. Attackers can craft malicious scripts containing arbitrary commands and inject them into the update process. When the device executes the compromised script, these commands are executed with the privileges of the system, granting the attacker remote control. The root cause is likely a failure to implement secure coding practices, such as input validation and output encoding, when handling external data sources. This allows for command injection attacks.