Advisory

GHSA-qpv2-rwc8-c993

Also known as: CVE-2026-38651, GO-2026-5588

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2026-04-28 18:30 UTC
Modified
2026-06-25 23:11 UTC

Affected packages and fixes

github.com/gravitl/netmaker

Go · All systems

Affected

  • introduced 0, fixed 1.5.0 (semver)

Fixed versions

1.5.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences