An incorrect authorization issue exists in the `webui/server/routes/db.js` file. This flaw allows accounts with authenticated user roles to modify the Account model. By sending a PATCH request to the '/api/db/Account/<username>' endpoint, an attacker can change roles to admin, overwrite password hashes, delete accounts, or read hashes to obtain full administrative control.