GHSA-ch3w-9456-38v3

Suggest an improvement
Source
https://github.com/advisories/GHSA-ch3w-9456-38v3
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-ch3w-9456-38v3/GHSA-ch3w-9456-38v3.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-ch3w-9456-38v3
Aliases
Published
2026-03-09T17:27:49Z
Modified
2026-03-23T04:56:24Z
Severity
  • 6.9 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
Netmaker has Privilege Escalation from Admin to Super-Admin via User Update
Details

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)

Database specific
{
    "cwe_ids": [
        "CWE-863"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-03-09T17:27:49Z",
    "nvd_published_at": "2026-03-07T17:15:51Z",
    "severity": "MODERATE"
}
References

Affected packages

Go / github.com/gravitl/netmaker

Package

Name
github.com/gravitl/netmaker
View open source insights on deps.dev
Purl
pkg:golang/github.com/gravitl/netmaker

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.5.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-ch3w-9456-38v3/GHSA-ch3w-9456-38v3.json"