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

- Severity: High 7.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.59%, higher than 76% of CVEs (2026-12-01)
- Published: 2022-02-18T22:00:12.000Z
- Modified: 2026-06-17T04:30:33.893Z
- Also known as: GHSA-86f3-hf24-76q4, GO-2022-0328
- Weaknesses: CWE-321, CWE-798
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- gravitl netmaker: < 0.8.5; >= 0.9.0, < 0.9.4
- github.com/gravitl/netmaker (Go): before 0.8.5; from 0.9.0 before 0.9.4
- netmaker netmaker: before 0.8.5; from 0.9.0 before 0.9.4

## Every score

- GitHub_M: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 9.0 High `AV:N/AC:L/Au:S/C:C/I:C/A:C`

## References

- <https://github.com/gravitl/netmaker/security/advisories/GHSA-86f3-hf24-76q4> (advisory, third-party-advisory, web)
- <https://github.com/gravitl/netmaker/pull/781/commits/1bec97c662670dfdab804343fc42ae4b1d050a87> (fix, patch, third-party-advisory, web)
- <https://github.com/gravitl/netmaker/commit/3d4f44ecfe8be4ca38920556ba3b90502ffb4fee> (fix, patch, third-party-advisory, web)
- <https://github.com/gravitl/netmaker/commit/e9bce264719f88c30e252ecc754d08f422f4c080> (fix, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-23650> (advisory)
- <https://github.com/gravitl/netmaker> (package)

## Sources

- CVE List: [CVE-2022-23650](https://www.cve.org/CVERecord?id=CVE-2022-23650), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-86f3-hf24-76q4](https://github.com/advisories/GHSA-86f3-hf24-76q4), CC-BY-4.0, modified 2026-05-19
- Go Vulnerability Database: [GO-2022-0328](https://pkg.go.dev/vuln/GO-2022-0328), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2022-23650](https://nvd.nist.gov/vuln/detail/CVE-2022-23650), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-23650 · Whole record: https://cve.day/CVE-2022-23650.json · Rebuilt by cve.day 2026-11-25T22:58:09.769Z
