CVE-2026-38651: Github.com/gravitl/netmaker Netmaker Does Not Verify JWT Vulnerability
CRITICALCVE-2026-38651 is a CRITICAL (CVSS 8.2) netmaker does not verify jwt vulnerability (CWE-347: Improper Verification of Cryptographic Signature) affecting Github.com/gravitl/netmaker libraries in the Go ecosystem. The issue involves netmaker does not verify jwt signatures for host tokens. Remediation is available by upgrading affected packages to version 1.5.0.
CVE-2026-38651 at a Glance
Security Impact
CVSS: 8.2
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N).
How to Fix CVE-2026-38651
To remediate this vulnerability, upgrade all affected Github.com/gravitl/netmaker dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/gravitl/netmaker to 1.5.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/gravitl/netmaker
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-38651, inspect your project dependencies for Github.com/gravitl/netmaker:
inspect dependencies for github.com/gravitl/netmaker
Analyze the terminal output to locate any version of Github.com/gravitl/netmaker in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.5.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-347: Improper Verification of Cryptographic Signature, where the product does not verify, or incorrectly verifies, the cryptographic signature for data. In Github.com/gravitl/netmaker, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-38651 Affected Github.com/gravitl/netmaker Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/gravitl/netmaker
|
Go |
< 1.5.0
|
1.5.0
|
References
Frequently Asked Questions
What is CVE-2026-38651?
Which Github.com/gravitl/netmaker versions are affected?
What version fixes CVE-2026-38651?
Is github.com/gravitl/netmaker affected?
What is the CVSS score of CVE-2026-38651?
What CWE is associated with CVE-2026-38651?
How can I check Go dependencies for CVE-2026-38651?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-qpv2-rwc8-c993",
"modified" : "2026-05-05T14:45:55Z",
"published" : "2026-04-28T18:30:33Z",
"aliases" : [ "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N"
}, {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/gravitl/netmaker"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.5.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-38651"
}, {
"type" : "WEB",
"url" : "https://github.com/gravitl/netmaker/commit/5309aa70d464ef565911369714d661a61481a79b"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/gravitl/netmaker"
}, {
"type" : "WEB",
"url" : "https://www.zyenra.com/advisories/netmaker-jwt-verification-bypass"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-347" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-05T14:45:55Z",
"nvd_published_at" : "2026-04-28T16:16:13Z"
}
}