GitHub Advisoryadvisory · Go
GHSA-ch3w-9456-38v3 Netmaker has Privilege Escalation from Admin to Super-Admin via User Update
MEDIUM
Official page ↗
- Aliases
- CVE-2026-29195
- Ecosystem
- Go
- Packages
- github.com/gravitl/netmaker
- Severity
- Moderate
- CVSS vector
- 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
- Weaknesses
- CWE-863
- Reviewed
- 2026-03-09
Affected packages
• Go github.com/gravitl/netmaker: < 1.5.0 → fixed in 1.5.0
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)
Related
Alias · CVE (1)
- CVE-2026-29195 Netmaker makes networks with WireGuard. vulnerability
Weakness · CWE (1)
- CWE-863 Incorrect Authorization weakness