CVE-2026-48025CWE-244

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

Medium · published July 28, 2026

CVSS v4.0
6.9
EPSS
0%
Percentile
21.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
6.9 · MEDIUM
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
EPSS
0.00292 · 21.3th percentile
Weakness
CWE-244 · Improper Clearing of Heap Memory Before Release ('Heap Inspection')
Published
2026-07-28T17:40Z
EPSS history
Timeline
  • 28 JUL 17:40Z
    nebula-mesh: Decrypted CA private key persists in heap after signing
    cvelistv5