gravitl/netmaker · Security
Netmaker has Privilege Escalation from Admin to Super-Admin via User Update
- GHSA ID
- GHSA-ch3w-9456-38v3
- CVE ID
- CVE-2026-29195
- Severity
- medium
- Published
- Updated
- CVSS v4
- 6.9 · CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
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)
CWEs
- CWE-863 · Incorrect Authorization