{"id":"CVE-2026-38651","aliases":["GHSA-qpv2-rwc8-c993","GO-2026-5588"],"url":"https://o3.security/vulnerability/CVE-2026-38651","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.","published":"2026-04-28T00:00:00Z","modified":"2026-08-12T03:51:31.570136107Z","cvss":{"score":8.2,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N"},"epss":{"score":0.00298,"percentile":0.22082,"asOf":"2026-08-10"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/gravitl/netmaker","fixedVersion":"1.5.0"}],"fix":{"url":"https://github.com/gravitl/netmaker/commit/5309aa70d464ef565911369714d661a61481a79b","label":"gravitl/netmaker@5309aa7"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/38xxx/CVE-2026-38651.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-38651"},{"type":"ADVISORY","url":"https://www.zyenra.com/advisories/netmaker-jwt-verification-bypass"},{"type":"FIX","url":"https://github.com/gravitl/netmaker/commit/5309aa70d464ef565911369714d661a61481a79b"},{"type":"ARTICLE","url":"https://www.zyenra.com/blog/netmaker-jwt-verification-bypass"},{"type":"EVIDENCE","url":"https://www.zyenra.com/advisories/netmaker-jwt-verification-bypass/"},{"type":"PACKAGE","url":"https://github.com/gravitl/netmaker"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:31.570136107Z"}}