Vulnerability GHSA-qpv2-rwc8-c993

High Risk
HIGH RISK
CVSS Score: 8.2
Score Range: 7.0–8.9
High severity vulnerabilities (CVSS 7.0–8.9). Serious vulnerabilities that should be prioritized soon after critical fixes.
4 months ago
April 28, 2026 at 06:30 PM UTC
Netmaker does not verify JWT signatures for host tokens
v0.5.5 - v1.4.0
v0.5.5 - v1.4.0

Summary

Netmaker does not verify JWT signatures for host tokens

Details

Netmaker by Gravitl is an open-source WireGuard-based networking platform for creating and managing virtual overlay networks. The VerifyHostToken function in logic/jwts.go does not validate the JWT signature when verifying host tokens. After calling jwt.ParseWithClaims, the function only checks whether the returned token object is non-nil. It does not check token.Valid or 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.

Timeline

Published
4 months ago
April 28, 2026 at 06:30 PM UTC
Last Modified
2 months ago
June 25, 2026 at 11:11 PM UTC