# Use of Hard-coded Cryptographic Key in Netmaker

Advisory record · `GHSA-86f3-hf24-76q4`

- **Identifiers:** `GHSA-86f3-hf24-76q4` · `CVE-2022-23650` · `GO-2022-0328`
- **State:** Confirmed
- **Severity:** CVSS 7.2 High
- **Critical:** No
- **Weakness (CWE):** [CWE-321](https://cwe.mitre.org/data/definitions/321.html) · [CWE-798](https://cwe.mitre.org/data/definitions/798.html)
- **Tags:** [Hard-coded credentials](https://agentprime.io/advisories/tag/hard-coded-credentials.md)
- **Published:** 22 Feb 2022
- **Updated:** 19 May 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 22 Feb 2022, 19:40 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `github.com/gravitl/netmaker` (Go): affected `<0.8.5 || >=0.9.0, <0.9.4`; fixed in `0.8.5`, `0.9.4`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Netmaker versions before 0.8.5 and from 0.9.0 before 0.9.4 contain a hard-coded cryptographic key in the server component. A remote attacker who knows the address and username of an admin can exploit this to run admin commands on the server; clients are not affected. Upgrade to Netmaker 0.8.5, 0.9.4, or 0.10.0 or later.

Written 7 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 7.2 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.016, the 76th percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 15:08 UTC: First seen by agentprime
- 31 Oct 2026, 15:08 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-86f3-hf24-76q4)

## Sources

- [GitHub Advisory Database: GHSA-86f3-hf24-76q4](https://github.com/advisories/GHSA-86f3-hf24-76q4)
- [OSV: GHSA-86f3-hf24-76q4](https://osv.dev/vulnerability/GHSA-86f3-hf24-76q4)
- <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/pull/781/commits/1bec97c662670dfdab804343fc42ae4b1d050a87>
- <https://github.com/gravitl/netmaker/commit/3d4f44ecfe8be4ca38920556ba3b90502ffb4fee>
- <https://github.com/gravitl/netmaker/commit/e9bce264719f88c30e252ecc754d08f422f4c080>
- <https://github.com/gravitl/netmaker>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-86f3-hf24-76q4>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-86f3-hf24-76q4/>. Everything for agents: <https://agentprime.io/llms.txt>.
