{"id":"CVE-2026-48025","published":"2026-07-28T17:40:37Z","modified":"2026-07-29T13:55:01Z","title":"nebula-mesh: Decrypted CA private key persists in heap after signing","vendor":"juev","product":"nebula-mesh","tier":"tail","description":{"text":"nebula-mesh is a self-hosted control plane for Slack Nebula mesh virtual private network. Prior to version 0.3.7, internal/pki/resolver.go:36-64 constructs a CAManager with the plaintext ed25519.PrivateKey after unwrapping via the master key; internal/pki/ca.go:13-16 stores it. Callers at internal/api/enroll.go:116, internal/api/updates.go:297, and internal/api/mobile_bundle.go:40 use the manager for one Sign() and drop the reference on function return — but the underlying slice contents are not wiped before release. The keystore package's contract (internal/keystore/keystore.go doc: \"Callers MUST zeroise the returned plaintext DEK as soon as it is no longer needed\") is not met by the CAManager consumer. Decrypted CA private keys persist in process heap until Go's GC scavenges the underlying slice — minutes to hours under load, indefinitely on idle servers. This issue has been patched in version 0.3.7.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00507,"percentile":0.44152,"provenance":"source"},"cwes":[{"id":"CWE-244","name":"Improper Clearing of Heap Memory Before Release"}],"references":[{"url":"https://github.com/forgekeep/nebula-mesh/security/advisories/GHSA-8h84-fhqq-q58v","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/forgekeep/nebula-mesh/commit/bca1d5914fbaf3517d3b86145a802c00de4a8122","tags":["x_refsource_MISC"]},{"url":"https://github.com/forgekeep/nebula-mesh/releases/tag/v0.3.7","tags":["x_refsource_MISC"]}],"priority":{"score":13.7,"factors":[{"name":"EPSS percentile","points":8.83},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"juev","affectedVersions":[{"vendor":"juev","product":"nebula-mesh","versions":["< 0.3.7"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-29T13:54:53.423099Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/juev/nebula-mesh","vulnerableRanges":["<0.3.7"],"patched":["0.3.7"],"from":["GHSA-8h84-fhqq-q58v"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/forgekeep/nebula-mesh","vulnerableRanges":["<0.3.7"],"patched":["0.3.7"],"from":["GHSA-8h84-fhqq-q58v","GO-2026-5255"],"provenance":"source"}],"summary":{"text":"Prior to version 0.3.7 of nebula-mesh, a self-hosted control plane for Slack Nebula mesh VPN, the decrypted certificate authority private key is left in process heap after signing operations, because the CAManager consumers in the enrollment, updates and mobile bundle API paths do not zero the underlying key slice before releasing it. An attacker able to read the server's process memory could recover the CA private key, and no authentication or user interaction is required; the flaw is reachable over the network, though the attacker needs a way to read the process's memory.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:41:06Z"},"euvd":{"id":"EUVD-2026-49931","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-48058","published":"2026-07-28","fixed":"0.3.2","kev":false},{"cve":"CVE-2026-47725","published":"2026-07-28","fixed":"0.3.3","kev":false},{"cve":"CVE-2026-47724","published":"2026-07-23","fixed":"0.3.4","kev":false,"link":{"from":"CVE-2026-47724","to":"CVE-2026-48025","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/juev/nebula-mesh","fromFixed":"0.3.4","toFixed":"0.3.7","daysApart":5}]}},{"cve":"CVE-2026-48025","published":"2026-07-28","fixed":"0.3.7","kev":false}],"package":"Go:github.com/juev/nebula-mesh"}}