{"id":"CVE-2026-53604","state":"PUBLISHED","title":"nebula-mesh: CA private key not zeroized on web mobile-bundle error paths","description":"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.","publishedAt":"2026-09-04T19:40:51.423Z","updatedAt":"2026-09-08T17:33:06.977Z","severity":{"score":7.1,"label":"High","version":"4.0","vector":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["forgekeep nebula-mesh"],"affected":[{"vendor":"forgekeep","product":"nebula-mesh","versions":[{"version":"< 0.3.8","status":"affected"}]}],"references":["https://github.com/forgekeep/nebula-mesh/security/advisories/GHSA-2p2f-px33-4vv5","https://github.com/forgekeep/nebula-mesh/commit/1f1ab9aa8472239763d967e3d50a3cd53a1a79b9","https://github.com/forgekeep/nebula-mesh/releases/tag/v0.3.8"],"weaknesses":["CWE-212","CWE-316"],"ingestedAt":"2026-10-29T20:12:16.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/53xxx/CVE-2026-53604.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-53604","state":"PUBLISHED","datePublished":"2026-09-04T19:40:51.423Z","dateUpdated":"2026-09-08T17:33:06.977Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-09T19:39:52.404Z"},"containers":{"cna":{"title":"nebula-mesh: CA private key not zeroized on web mobile-bundle error paths","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"forgekeep","product":"nebula-mesh","versions":[{"version":"< 0.3.8","status":"affected"}]}],"references":[{"url":"https://github.com/forgekeep/nebula-mesh/security/advisories/GHSA-2p2f-px33-4vv5","name":"https://github.com/forgekeep/nebula-mesh/security/advisories/GHSA-2p2f-px33-4vv5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/forgekeep/nebula-mesh/commit/1f1ab9aa8472239763d967e3d50a3cd53a1a79b9","name":"https://github.com/forgekeep/nebula-mesh/commit/1f1ab9aa8472239763d967e3d50a3cd53a1a79b9","tags":["x_refsource_MISC"]},{"url":"https://github.com/forgekeep/nebula-mesh/releases/tag/v0.3.8","name":"https://github.com/forgekeep/nebula-mesh/releases/tag/v0.3.8","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":7.1,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-212","lang":"en","description":"CWE-212: Improper Removal of Sensitive Information Before Storage or Transfer","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-316","lang":"en","description":"CWE-316: Cleartext Storage of Sensitive Information in Memory","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-09-04T19:40:51.423Z"},"source":{"advisory":"GHSA-2p2f-px33-4vv5","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-08T16:37:19.531370Z","id":"CVE-2026-53604","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-08T17:33:06.977Z"}}]}}}