8.2high
Netmaker does not verify JWT signatures for host tokens
- Severity
- 8.2high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.37% (higher than 32% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-qpv2-rwc8-c993GO-2026-5588
Description
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
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| github.com/gravitl/netmaker (Go) | before 1.5.0 | GitHub Advisory Database, Go Vulnerability Database |
| netmaker netmaker | before 1.5.0 | NVD |
All scores
| CISA-ADP | 8.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
| GitHub | 8.2critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
| GitHub | critical CVSS:4.0 | 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 |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
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
GitHub Advisory Database
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.
Go Vulnerability Database
Netmaker does not verify JWT signatures for host tokens in github.com/gravitl/netmaker
NVD (es)
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.
References
| https://github.com/gravitl/netmaker/commit/5309aa70d464ef565911369714d661a61481a79b | fix, patch, web | |
| https://www.zyenra.com/blog/netmaker-jwt-verification-bypass | exploit, third-party-advisory | |
| https://www.zyenra.com/advisories/netmaker-jwt-verification-bypass | exploit, third-party-advisory, web | |
| https://www.zyenra.com/advisories/netmaker-jwt-verification-bypass/ | exploit, third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-38651 | advisory | |
| https://github.com/gravitl/netmaker | package | |
| https://github.com/advisories/GHSA-qpv2-rwc8-c993 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-38651 changed 2026-04-28 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-qpv2-rwc8-c993 changed 2026-06-25 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-5588 changed 2026-06-25 | CC-BY-4.0 |
| NVD | CVE-2026-38651 changed 2026-11-11 | Public domain |