CVE-2026-47722: CWE-94: Improper Control of Generation of Code ('Code Injection') in juev nebula-mesh
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.
AI Analysis
Technical Summary
The juev nebula-mesh product, a self-hosted control plane for the Slack Nebula mesh VPN, improperly handles user-supplied input in the ListenHost and TunDevice fields. These fields are directly interpolated into a text/template used to generate the agent's configuration file (config.yml) without adequate validation beyond trimming whitespace. This improper control of code generation (CWE-94) can lead to code injection vulnerabilities. The issue is fixed in version 0.3.2.
Potential Impact
An attacker with low privileges and no user interaction required can exploit this vulnerability to inject code via the ListenHost and TunDevice fields, potentially leading to high impact on confidentiality, integrity, and availability of the system. The CVSS 4.0 base score is 8.7 (high severity), indicating a significant risk if exploited.
Mitigation Recommendations
Version 0.3.2 of juev nebula-mesh fixes this vulnerability. Users should upgrade to version 0.3.2 or later to remediate this issue. No official patch or workaround is provided other than upgrading. Patch status is not explicitly confirmed beyond the version fix; users should verify with the vendor advisory for current remediation guidance.
CVE-2026-47722: CWE-94: Improper Control of Generation of Code ('Code Injection') in juev nebula-mesh
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.
CVSS v4.0
Score 8.7high
Affected software
pkg:github/forgekeep/nebula-meshRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The juev nebula-mesh product, a self-hosted control plane for the Slack Nebula mesh VPN, improperly handles user-supplied input in the ListenHost and TunDevice fields. These fields are directly interpolated into a text/template used to generate the agent's configuration file (config.yml) without adequate validation beyond trimming whitespace. This improper control of code generation (CWE-94) can lead to code injection vulnerabilities. The issue is fixed in version 0.3.2.
Potential Impact
An attacker with low privileges and no user interaction required can exploit this vulnerability to inject code via the ListenHost and TunDevice fields, potentially leading to high impact on confidentiality, integrity, and availability of the system. The CVSS 4.0 base score is 8.7 (high severity), indicating a significant risk if exploited.
Mitigation Recommendations
Version 0.3.2 of juev nebula-mesh fixes this vulnerability. Users should upgrade to version 0.3.2 or later to remediate this issue. No official patch or workaround is provided other than upgrading. Patch status is not explicitly confirmed beyond the version fix; users should verify with the vendor advisory for current remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-19T21:29:25.482Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a62711c9c2644c7f89e06e7
Added to database: 07/23/2026, 19:53:00 UTC
Last enriched: 07/23/2026, 20:06:58 UTC
Last updated: 07/23/2026, 22:00:34 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.