UNKNOWN Go

Netmaker has Privilege Escalation from Admin to Super-Admin via User Update

GHSA-ch3w-9456-38v3 · CVE-2026-29195 · GO-2026-4654

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

Description

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.

Credits
Artem Danilov (Positive Technologies)

Ready to move

Start Securing

Free, no credit card | First findings in minutes