Medium severity · published Jul 28, 2026
CVE-2026-48025
nebula-mesh: Decrypted CA private key persists in heap after signing
6.9
CVSS
0.5%
EPSS
No
On KEV
Description
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 43% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
NE
nebula-mesh · juev
< 0.3.7 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-48025
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-48025
github.com
https://github.com/forgekeep/nebula-mesh/commit/bca1d5914fbaf3517d3b86145a802c00de4a8122
github.com
https://github.com/forgekeep/nebula-mesh/releases/tag/v0.3.7
github.com
https://github.com/forgekeep/nebula-mesh/security/advisories/GHSA-8h84-fhqq-q58v
More from nebula-mesh
9.9
CVE-2026-47724
nebula-mesh: API endpoints lack ownership checks, enabling cross-operator privilege escalation
8.8
CVE-2026-49258
Nebula Mesh: Web UI lacks ownership checks, enabling cross-operator access to hosts and networks (read, block, delete)
8.7
CVE-2026-47722
nebula-mesh: Host advanced overrides allow YAML injection into agent config.yml
7.1
CVE-2026-47726
nebula-mesh: GET /api/v1/audit-log discloses all entries to any operator
7.1
CVE-2026-47723
nebula-mesh: Web UI and API responses lack security headers (CSP, X-Frame-Options, HSTS, etc.)
