#0202
Users must go through an email verification flow before they gain full platform access. The updateAccount endpoint, however, accepts any fields in the request body and applies them directly to the stored account.
An attacker can skip verification entirely by sending isVerified: true in their profile-update request, granting themselves the privileges of a verified user.
Verification bypasses let unvetted users access paid or restricted features. In fintech or compliance contexts this can be a regulatory violation as well as a security failure.
updateAccount('u1', { isVerified: true }, db)// returns account with isVerified still false