An authentication bypass exists in the `setup.restore` command during the first-run setup mode. Unauthenticated attackers can use Socket.IO to invoke this command and execute arbitrary SQL, enabling them to create administrator users and forge session tokens. This allows for complete application takeover by authenticating as an administrator without providing credentials.