Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2026-48025 — nebula-mesh

⚪ Unknown ✅ No Known Exploit CWE-244 NVD
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

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

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.

Affected

All released versions up to v0.3.6.

Threat model

Memory-read access: core dump, ptrace, kernel swap to disk, container/VM snapshot, OOM-debug bundle, side-channel via shared cache lines. Not a remote-network vulnerability, but defeats the master-key + envelope-encryption design's promise of "private key never lingers".

Suggested fix

Add a Wipe() method on CAManager:

```go

// internal/pki/ca.go

func (m *CAManager) Wipe() {

if m == nil {

return

}

keystore.Zeroize(m.caKey)

}

```

At each call site (enroll.go:116, updates.go:297, mobile_bundle.go:40, and any new caller), defer caMgr.Wipe() immediately after the Resolve() call. Pattern mirrors the existing defer keystore.Zeroize(dek) discipline in the keystore package.

Optional follow-up: wrap m.Sign() to zeroize after each call, removing the contract on callers — but the defer pattern is sufficient as a minimum.

Weakness class

CVE-2026-48025 is classified as CWE-244: Improper Clearing of Heap Memory Before Release ('Heap Inspection'). Using realloc() to resize buffers that store sensitive information can leave the sensitive information exposed to attack, because it is not removed from memory.

Affected software

CVE-2026-48025 is recorded against 3 packages.

  • github.com/forgekeep/nebula-mesh
  • github.com/juev/nebula-mesh
  • unknown

Timeline and source

Published on 10 June 2026 and last revised on 26 June 2026. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from NVD.

References

github.com (Web)
github.com (Web)
github.com (Web)
github.com (Package)

Other advisories for this package

github.com/forgekeep/nebula-mesh has other advisories on record. If you are patching this one, these are worth checking on the same host:

Same weakness in other software

These advisories are the same class of weakness (CWE-244: Improper Clearing of Heap Memory Before Release ('Heap Inspection')) in other software:

Details

Severity Unknown
CVSS Score N/A
CVSS Vector N/A
CWE CWE-244
Public Exploit ✅ No
Source NVD
Published 2026-06-10
Updated 2026-08-20
Modified 2026-06-26

Affected Packages

Software From version Fixed in
github.com/forgekeep/nebula-mesh
github.com/juev/nebula-mesh
unknown

Similar Threats

Free Vulnerability Check

Is your site affected by CVE-2026-48025?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against CVE-2026-48025 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2026