Improper privilege management in TeamPass - #VU140731
Published: August 2, 2026
Vulnerability details
The vulnerability allows a remote user to gain unauthorized access to folders or modify content outside their intended scope.
The vulnerability exists due to improper privilege management in the `add_one_role_to_user` context of the `save_user_change` action in `app/sources/users.queries.php` when handling a user-supplied role id. A remote user can submit a crafted request with an unauthorized role id to gain unauthorized access to folders or modify content outside their intended scope.
For regular users, the observed behavior was self-assignment to an existing role, and the resulting access depended on role membership, folder ACLs, and item sharekeys in the deployment.