CVE-2026-38651
Netmaker does not verify JWT signatures for host tokens
Severity by source
Trivy's own label is CRITICAL. Rated critical by GHSA.
Description
Authentication Bypass vulnerability exists in Netmaker versions prior to 1.5.0. The VerifyHostToken function in logic/jwts.go fails to validate the JWT signature when verifying host tokens. An attacker can forge a JWT signed with any arbitrary key and use it to impersonate any host in the network, gaining access to sensitive information
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| go::GitHub Security Advisory Go | github.com/gravitl/netmaker | 1.5.0 |
References
- https://github.com/gravitl/netmaker
- https://github.com/gravitl/netmaker/commit/5309aa70d464ef565911369714d661a61481a79b
- https://nvd.nist.gov/vuln/detail/CVE-2026-38651
- https://www.zyenra.com/advisories/netmaker-jwt-verification-bypass
- https://www.zyenra.com/advisories/netmaker-jwt-verification-bypass/
- https://www.zyenra.com/blog/netmaker-jwt-verification-bypass