Description
nebula-mesh is a self-hosted control plane for Slack Nebula mesh virtual private network. Prior to version 0.3.2, `internal/configgen/generator.go:86,108,119` interpolates the operator-supplied `ListenHost` and `TunDevice` fields raw into a `text/template` that produces the agent's `config.yml`. `internal/web/advanced.go:20-35` accepts both with only `strings.TrimSpace` — no character or shape validation. Version 0.3.2 fixes the issue.
Published: 2026-07-23
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Nebula‑mesh is a self‑hosted control plane for Slack Nebula mesh virtual private network. In versions before 0.3.2, the generator interpolates operator‑supplied ListenHost and TunDevice fields raw into a text/template that produces the agent’s config.yml. The advanced override handler accepts these values with only strings.TrimSpace, performing no character or shape validation. This lack of sanitization allows a malicious operator to inject arbitrary YAML into the agent configuration, potentially enabling privilege escalation or remote code execution when the agent runs with elevated privileges. The weakness corresponds to CWE‑94, code injection.

Affected Systems

juev’s nebula‑mesh control plane service, versions prior to 0.3.2, are affected. Users running the open‑source project version lower than 0.3.2 who enable host advanced overrides are vulnerable. The issue is fixed in release 0.3.2 and later.

Risk and Exploitability

The CVSS score of 8.7 indicates high severity. The EPSS score is under 1%, suggesting that exploitation is unlikely at present. The vulnerability is not listed in CISA’s KEV catalog. Attackers would need to supply a crafted ListenHost or TunDevice value in an advanced override request; because the value is processed without sanitization, YAML injection can modify agent behavior. Proper validation or upgrading mitigates the risk.

Generated by OpenCVE AI on August 4, 2026 at 15:12 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade juev/nebula‑mesh to version 0.3.2 or later where the issue is fixed.
  • Disable host advanced overrides for untrusted users or remove the advanced override feature until a validated patch is available.
  • Validate operator‑supplied ListenHost and TunDevice values before inclusion in templates or enforce character restrictions; patch or configure to reject non‑alphanumeric input.

Generated by OpenCVE AI on August 4, 2026 at 15:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-7hp6-g3pq-3pc3 nebula-mesh: Host advanced overrides allow YAML injection into agent config.yml
History

Mon, 27 Jul 2026 13:15:00 +0000

Type Values Removed Values Added
First Time appeared Juev
Juev nebula-mesh
Vendors & Products Juev
Juev nebula-mesh

Fri, 24 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 23 Jul 2026 21:45:00 +0000

Type Values Removed Values Added
Description nebula-mesh is a self-hosted control plane for Slack Nebula mesh virtual private network. Prior to version 0.3.2, `internal/configgen/generator.go:86,108,119` interpolates the operator-supplied `ListenHost` and `TunDevice` fields raw into a `text/template` that produces the agent's `config.yml`. `internal/web/advanced.go:20-35` accepts both with only `strings.TrimSpace` — no character or shape validation. Version 0.3.2 fixes the issue.
Title nebula-mesh: Host advanced overrides allow YAML injection into agent config.yml
Weaknesses CWE-94
References
Metrics cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Juev Nebula-mesh
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-24T11:11:20.665Z

Reserved: 2026-05-19T21:29:25.482Z

Link: CVE-2026-47722

cve-icon Vulnrichment

Updated: 2026-07-24T11:11:13.843Z

cve-icon NVD

Status : Deferred

Published: 2026-07-23T20:17:08.637

Modified: 2026-07-30T16:41:25.650

Link: CVE-2026-47722

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T15:15:04Z

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')