{"id":"CVE-2026-38651","aliases":["CVE-2026-38651","GHSA-qpv2-rwc8-c993","GO-2026-5588"],"related":[],"kind":"vulnerability","state":"published","title":"Netmaker does not verify JWT signatures for host tokens","summary":"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","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Netmaker does not verify JWT signatures for host tokens in github.com/gravitl/netmaker","format":"markdown","source":"go"},{"lang":"es","text":"Vulnerabilidad de omisión de autenticación existe en versiones de Netmaker anteriores a la 1.5.0. La función VerifyHostToken en logic/jwts.go falla al validar la firma JWT al verificar tokens de host. Un atacante puede falsificar un JWT firmado con cualquier clave arbitraria y usarlo para suplantar a cualquier host en la red, obteniendo acceso a información sensible.","source":"nvd"}],"published":"2026-04-28T00:00:00.000Z","modified":"2026-11-11T23:10:00.263Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","score":8.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","score":8.2,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N","rating":"CRITICAL"}],"cwes":["CWE-347"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.5.0"}],"ecosystem":"Go","package":"github.com/gravitl/netmaker","purl":"pkg:golang/github.com/gravitl/netmaker","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.5.0"}],"ecosystem":"Go","package":"github.com/gravitl/netmaker","purl":"pkg:golang/github.com/gravitl/netmaker","source":"go"},{"ranges":[{"status":"affected","fixed":"1.5.0"}],"vendor":"netmaker","product":"netmaker","cpe":"cpe:2.3:a:netmaker:netmaker:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/gravitl/netmaker/commit/5309aa70d464ef565911369714d661a61481a79b","tags":["fix","patch","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://www.zyenra.com/blog/netmaker-jwt-verification-bypass","tags":["exploit","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.zyenra.com/advisories/netmaker-jwt-verification-bypass","tags":["exploit","third-party-advisory","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://www.zyenra.com/advisories/netmaker-jwt-verification-bypass/","tags":["exploit","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-38651","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/gravitl/netmaker","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-qpv2-rwc8-c993","tags":["advisory"],"sources":["go"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-04-28T17:34:36.148Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-38651","url":"https://www.cve.org/CVERecord?id=CVE-2026-38651","licence":"CVE Terms of Use","modified":"2026-04-28T17:34:42.863Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qpv2-rwc8-c993","url":"https://github.com/advisories/GHSA-qpv2-rwc8-c993","licence":"CC-BY-4.0","modified":"2026-06-25T23:11:06.416Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5588","url":"https://pkg.go.dev/vuln/GO-2026-5588","licence":"CC-BY-4.0","modified":"2026-06-25T23:01:32.619Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-38651","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-38651","licence":"Public domain","modified":"2026-11-11T23:10:00.263Z"}],"updatedAt":"2026-11-25T22:59:19.921Z","epss":{"score":0.00367,"percentile":0.32556,"date":"2026-12-01T12:00:22.000Z"}}