Authorization bypass through user-controlled key in Wekan - #VU145029
Published: August 25, 2026
Vulnerability details
The vulnerability allows a remote user to take over arbitrary user accounts.
The vulnerability exists due to authorization bypass through a user-controlled key in the POST /api/createtoken/:userId endpoint when handling requests with an attacker-controlled userId path parameter. A remote privileged user can send a crafted request to generate a valid login token for any user and take over arbitrary user accounts.
The generated token is functionally identical to a normal login token and bypasses the impersonation audit trail.