An authentication bypass exists because the global auth hook ignores authentication for paths ending in static-asset extensions, such as .js, which includes routes under /api/*. Additionally, user-mutation handlers fail open for unauthenticated callers. This allows unauthenticated remote attackers to send a PUT request to the '/api/users/<id>.js' endpoint to reset the password of any user, including the administrator, leading to full account takeover.