Skip to content
Heist/ feed
Back to feed
High

Use of Hard-coded Cryptographic Key in Netmaker

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-23650
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 20:17 UTC · Revision 1

Source evidence

Use of Hard-coded Cryptographic Key in Netmaker

core-osv · Original source

Published 18 Feb 2022, 22:00 UTC

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.

osv:CVE-2022-23650
Complete source record
{
  "id": "1b123b3e6c7283dc4c9cf1231b3e07e5a27702fa24cd620bca93dfcb4b8c23a2",
  "url": "https://osv.dev/vulnerability/CVE-2022-23650",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Use of Hard-coded Cryptographic Key in Netmaker",
    "summary": "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.",
    "evidence": "osv:CVE-2022-23650",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2022-23650",
      "aliases": [
        "CVE-2022-23650",
        "GHSA-86f3-hf24-76q4",
        "GO-2022-0328"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/gravitl/netmaker",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "79671cc8cdd735e76ea449baae2e1d6e32d1117b"
                },
                {
                  "introduced": "9e5872202b72dbc5e13cf1cc5c82c7ddd265c7e2"
                },
                {
                  "fixed": "44688fe32ce8340914ba5a81f999b794a33b6712"
                },
                {
                  "fixed": "3d4f44ecfe8be4ca38920556ba3b90502ffb4fee"
                },
                {
                  "fixed": "e9bce264719f88c30e252ecc754d08f422f4c080"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:netmaker:netmaker:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.8.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:netmaker:netmaker:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.9.0"
                      },
                      {
                        "fixed": "0.9.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "3d4f44ecfe8be4ca38920556ba3b90502ffb4fee"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "e9bce264719f88c30e252ecc754d08f422f4c080"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.9.3",
            "v0.9.2",
            "v0.9.1",
            "v0.9.0",
            "v0.8.0",
            "v0.7.1",
            "v0.7",
            "0.7",
            "v0.5",
            "v0.3",
            "v0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-23650.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:32.095853079Z",
      "provider": "osv",
      "references": [
        "https://github.com/gravitl/netmaker/pull/781/commits/1bec97c662670dfdab804343fc42ae4b1d050a87",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23650.json",
        "https://github.com/gravitl/netmaker/security/advisories/GHSA-86f3-hf24-76q4",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-23650",
        "https://github.com/gravitl/netmaker/commit/3d4f44ecfe8be4ca38920556ba3b90502ffb4fee",
        "https://github.com/gravitl/netmaker/commit/e9bce264719f88c30e252ecc754d08f422f4c080"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-321"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23650.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-23650",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 498925,
  "published_at": "2022-02-18T22:00:12+00:00"
}