Skip to main content
← All vulnerabilities
CVE-2026-48025GO-2026-5255GHSA-8H84-FHQQ-Q58V

nebula-mesh: Decrypted CA private key persists in heap after signing

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.3.7
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • juev nebula-mesh

    fixed in 0.3.7

  • github.com/forgekeep/nebula-meshGo

    fixed in 0.3.7

  • github.com/juev/nebula-meshGo

    fixed in 0.3.7

References 3

GitHub · forgekeep/nebula-mesh