{"id":"CVE-2026-53604","title":"nebula-mesh is a self-hosted control plane for Slack Nebula mesh VPN","summary":"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 t…","severity":"high","cvss":7.1,"cvssVector":"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","cwe":["CWE-212","CWE-316"],"vendor":"forgekeep","product":"nebula-mesh","affected":["nebula-mesh < 0.3.8"],"patched":["github.com/forgekeep/nebula-mesh 0.3.8"],"published":"2026-09-04","updated":"2026-09-08","sourceUpdated":"2026-09-08T21:05:26.920","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-53604","references":[{"url":"https://github.com/forgekeep/nebula-mesh/commit/1f1ab9aa8472239763d967e3d50a3cd53a1a79b9","label":"security-advisories@github.com"},{"url":"https://github.com/forgekeep/nebula-mesh/releases/tag/v0.3.8","label":"security-advisories@github.com"},{"url":"https://github.com/forgekeep/nebula-mesh/security/advisories/GHSA-2p2f-px33-4vv5","label":"security-advisories@github.com"},{"url":"https://github.com/advisories/GHSA-2p2f-px33-4vv5"}],"tags":["nvd","cve.org","ghsa","go"],"epss":0.00116,"epssPercentile":0.01837,"aliases":["GHSA-2p2f-px33-4vv5"],"ecosystem":"go","ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-08T16:37:19.531370Z"},"cvssSource":"cna","ingestedAt":"2026-07-14T20:39:11.246Z","slug":"CVE-2026-53604","body":"## Overview\n\nnebula-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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-53604)\n\nAffected packages:\n\n- `github.com/forgekeep/nebula-mesh <= 0.3.7`\n\nPatched in:\n\n- `github.com/forgekeep/nebula-mesh 0.3.8`\n\nSource: https://github.com/advisories/GHSA-2p2f-px33-4vv5","depth":"twilight","depthScore":39,"depthScoreParts":{"impact":39.1,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[{"seq":8190,"id":"CVE-2026-53604","ts":1788919973137,"field":"cvss","old":null,"new":"7.1"},{"seq":7999,"id":"CVE-2026-53604","ts":1788919275553,"field":"cvss","old":"7.1","new":null},{"seq":7808,"id":"CVE-2026-53604","ts":1788916333745,"field":"cvss","old":null,"new":"7.1"},{"seq":7617,"id":"CVE-2026-53604","ts":1788915291790,"field":"cvss","old":"7.1","new":null},{"seq":7426,"id":"CVE-2026-53604","ts":1788912694985,"field":"cvss","old":null,"new":"7.1"},{"seq":7235,"id":"CVE-2026-53604","ts":1788911324080,"field":"cvss","old":"7.1","new":null},{"seq":7042,"id":"CVE-2026-53604","ts":1788909061078,"field":"cvss","old":null,"new":"7.1"},{"seq":6854,"id":"CVE-2026-53604","ts":1788907385666,"field":"cvss","old":"7.1","new":null},{"seq":6656,"id":"CVE-2026-53604","ts":1788905428443,"field":"cvss","old":null,"new":"7.1"},{"seq":6474,"id":"CVE-2026-53604","ts":1788903454763,"field":"cvss","old":"7.1","new":null},{"seq":6269,"id":"CVE-2026-53604","ts":1788901797360,"field":"cvss","old":null,"new":"7.1"},{"seq":6099,"id":"CVE-2026-53604","ts":1788899558110,"field":"cvss","old":"7.1","new":null},{"seq":5910,"id":"CVE-2026-53604","ts":1788898149173,"field":"cvss","old":null,"new":"7.1"},{"seq":5799,"id":"CVE-2026-53604","ts":1788895705390,"field":"cvss","old":"7.1","new":null},{"seq":5671,"id":"CVE-2026-53604","ts":1788894522508,"field":"cvss","old":null,"new":"7.1"},{"seq":5629,"id":"CVE-2026-53604","ts":1788891865959,"field":"cvss","old":"7.1","new":null},{"seq":5608,"id":"CVE-2026-53604","ts":1788890892346,"field":"cvss","old":null,"new":"7.1"}]}