Improper authorization allows unauthenticated LAN or Tailnet clients to bypass the privileged mediastream settings guard. By setting `transcodeHwAccel` to custom and providing attacker-controlled `decodeFlags` and `encodeFlags` via the `transcodeHwAccelCustomSettings` field, these values are appended verbatim to the ffmpeg argument vector. This argument injection can be triggered via the mediastream request and HLS playlist endpoints, enabling arbitrary file write and file truncation on the host as the user running the software. Additionally, the injected input options may allow arbitrary local file read and outbound data exfiltration through ffmpeg's protocol handlers.