Authenticated users with System: Firmware privileges can execute commands as root by providing a malicious firmware mirror URL. This occurs when shell metacharacters are submitted via the 'POST /api/core/firmware/set' endpoint, which are then processed by the `eval` function in opnsense-update. Additionally, attackers can use sed injection to disable package signature verification.