CVE-2026-47722

nebula-mesh: Host advanced overrides allow YAML injection into agent config.yml

Published Jul 23, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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
Type Values Removed Values Added
First Time appeared Juev
Juev nebula-mesh
Vendors & Products Juev
Juev nebula-mesh
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-94

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 24, 2026, 11:11 AM
Reserved
May 19, 2026, 9:29 PM
Status
Deferred
Published
Jul 23, 2026, 8:17 PM
Modified
Oct 24, 2026, 1:10 PM