Netmaker does not verify JWT signatures for host tokens
Critical severity
GitHub Reviewed
Published
Apr 28, 2026
to the GitHub Advisory Database
•
Updated May 5, 2026
Description
Published by the National Vulnerability Database
Apr 28, 2026
Published to the GitHub Advisory Database
Apr 28, 2026
Reviewed
May 5, 2026
Last updated
May 5, 2026
Netmaker by Gravitl is an open-source WireGuard-based networking platform for creating and managing virtual overlay networks. The
VerifyHostTokenfunction inlogic/jwts.godoes not validate the JWT signature when verifying host tokens. After callingjwt.ParseWithClaims, the function only checks whether the returned token object is non-nil. It does not checktoken.Validor the returned error. An attacker can forge a JWT signed with any key, set the claims to any host ID, and pull that host's full configuration including bcrypt-hashed passwords, MQTT credentials, and WireGuard peer data. The issue was patched in v1.5.0.References