Netmaker has Privilege Escalation from Admin to Super-Admin via User Update
Description
Published by the National Vulnerability Database
Mar 7, 2026
Published to the GitHub Advisory Database
Mar 9, 2026
Reviewed
Mar 9, 2026
Last updated
Mar 11, 2026
The user update handler (PUT /api/users/{username}) lacks validation to prevent an admin-role user from assigning the super-admin role during account updates. While the code correctly blocks an admin from assigning the admin role to another user, it does not include an equivalent check for the super-admin role.
References