Nixpkgs Security Tracker

Login with GitHub

Details of issue NIXPKGS-2026-0575

NIXPKGS-2026-0575
published on 8 Mar 2026
updated 1 week ago by @mweinelt Activity log
  • Created automatic suggestion
  • @mweinelt accepted
  • @mweinelt published on GitHub
Netmaker: Privilege Escalation from Admin to Super-Admin via User Update

Netmaker makes networks with WireGuard. Prior to version 1.5.0, 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. This issue has been patched in version 1.5.0.

Affected products

netmaker
  • ==< 1.5.0

Matching in nixpkgs

Package maintainers

Upstream advisory: https://github.com/gravitl/netmaker/security/advisories/GHSA-ch3w-9456-38v3