# CVE-2026-53604: nebula-mesh: CA private key not zeroized on web mobile-bundle error paths

- Severity: High 7.1 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-07-14T20:05:38.000Z
- Modified: 2026-09-08T21:05:26.920Z
- Also known as: GHSA-2p2f-px33-4vv5, GO-2026-5984
- Weaknesses: CWE-212, CWE-316
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- forgekeep nebula-mesh: < 0.3.8
- github.com/forgekeep/nebula-mesh (Go): before 0.3.8

## Every score

- GitHub_M: CVSS:4.0 7.1 High `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`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/forgekeep/nebula-mesh/security/advisories/GHSA-2p2f-px33-4vv5> (advisory, web)
- <https://github.com/forgekeep/nebula-mesh/commit/1f1ab9aa8472239763d967e3d50a3cd53a1a79b9> (fix, web)
- <https://github.com/forgekeep/nebula-mesh/releases/tag/v0.3.8> (web)
- <https://github.com/forgekeep/nebula-mesh> (package)

## Sources

- CVE List: [CVE-2026-53604](https://www.cve.org/CVERecord?id=CVE-2026-53604), CVE Terms of Use, modified 2026-09-08
- GitHub Advisory Database: [GHSA-2p2f-px33-4vv5](https://github.com/advisories/GHSA-2p2f-px33-4vv5), CC-BY-4.0, modified 2026-07-21
- Go Vulnerability Database: [GO-2026-5984](https://pkg.go.dev/vuln/GO-2026-5984), CC-BY-4.0, modified 2026-07-21
- NVD: [CVE-2026-53604](https://nvd.nist.gov/vuln/detail/CVE-2026-53604), Public domain, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-53604 · Whole record: https://cve.day/CVE-2026-53604.json · Rebuilt by cve.day 2026-11-25T22:59:36.402Z
