CVE-2026-38651
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
github.com/gravitl/netmaker (Go)before 1.5.0GitHub Advisory Database, Go Vulnerability Database
netmaker netmakerbefore 1.5.0NVD

All scores

CISA-ADP8.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
GitHub8.2critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
GitHubcritical CVSS:4.0CVSS: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

CWE-347

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

Sources

SourceRecordLicence
CVE ListCVE-2026-38651 changed 2026-04-28CVE Terms of Use
GitHub Advisory DatabaseGHSA-qpv2-rwc8-c993 changed 2026-06-25CC-BY-4.0
Go Vulnerability DatabaseGO-2026-5588 changed 2026-06-25CC-BY-4.0
NVDCVE-2026-38651 changed 2026-11-11Public domain