CVE-2026-53604
HIGH 7.1CVSS 4.0nebula-mesh: CA private key not zeroized on web mobile-bundle error paths
nebula-mesh is a self-hosted control plane for Slack Nebula mesh VPN. Prior to version 0.3.8, the web handler renderMobileBundle passes the real *pki.CAResolver directly into mobilebundle.Build. Inside Build, resolver.LoadByID decrypts the CA's ed25519 private key into a *pki.CAManager, but Build never calls CAManager.Wipe() on any return path. As a result, when a mobile-bundle request goes through the web UI and Build returns — especially on error (missing network, invalid prefix, DB error, signing failure) — the plaintext CA private key remains on the Go heap, unwiped, until garbage collection. An attacker able to read process memory (core dump, swap, memory-scraping) can recover the CA signing key, which would allow minting arbitrary host certificates for the mesh. The API handler already does this correctly: it loads the CAManager, defer caMgr.Wipe(), and wraps it in caManagerResolver. Only the web path is affected. This issue has been patched in version 0.3.8.
- Published
- 4 Sep 2026
- Last modified
- 8 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-212CWE-316
- Also known as
- GHSA-2p2f-px33-4vv5GO-2026-5984
- Sources
- NVDJSONOSV GHSA-2p2f-px33-4vv5JSONOSV GO-2026-5984JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 7.1 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/forgekeep/nebula-mesh | < 0.3.8 | 0.3.8 |
References
- https://github.com/forgekeep/nebula-mesh/commit/1f1ab9aa8472239763d967e3d50a3cd53a1a79b9 · WEB, FIX
- https://github.com/forgekeep/nebula-mesh/releases/tag/v0.3.8 · WEB
- https://github.com/forgekeep/nebula-mesh/security/advisories/GHSA-2p2f-px33-4vv5 · WEB, ADVISORY
- https://github.com/forgekeep/nebula-mesh · PACKAGE
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 4 Sep 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 17 Jul 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 14 Jul 2026)