CVE-2026-47722: CWE-94: Improper Control of Generation of Code ('Code Injection') in juev nebula-mesh
CVE-2026-47722 is a high-severity code injection vulnerability in juev's nebula-mesh, a self-hosted control plane for the Slack Nebula mesh VPN. Versions prior to 0.3.2 improperly interpolate user-supplied ListenHost and TunDevice fields into a text/template without sufficient validation, allowing potential code injection. The issue is fixed in version 0.3.2.
AI Analysis
Technical Summary
nebula-mesh versions before 0.3.2 contain a code injection vulnerability (CWE-94) due to improper control of code generation. The operator-supplied ListenHost and TunDevice fields are directly interpolated into a text/template that generates the agent's config.yml file without adequate sanitization, only trimmed of whitespace. This lack of character or shape validation in internal/configgen/generator.go and internal/web/advanced.go allows malicious input to influence the generated configuration code. The vulnerability is resolved in version 0.3.2.
Potential Impact
An attacker with low privileges can supply crafted input to the ListenHost and TunDevice fields, potentially injecting malicious code into the generated configuration file. This could lead to execution of arbitrary code or other unintended behaviors in the agent, compromising the security and integrity of the nebula-mesh VPN environment.
Mitigation Recommendations
Upgrade to nebula-mesh version 0.3.2 or later, where this vulnerability is fixed. There is no official patch or temporary fix other than upgrading. Users should avoid using affected versions prior to 0.3.2.
CVE-2026-47722: CWE-94: Improper Control of Generation of Code ('Code Injection') in juev nebula-mesh
Description
CVE-2026-47722 is a high-severity code injection vulnerability in juev's nebula-mesh, a self-hosted control plane for the Slack Nebula mesh VPN. Versions prior to 0.3.2 improperly interpolate user-supplied ListenHost and TunDevice fields into a text/template without sufficient validation, allowing potential code injection. The issue is fixed in version 0.3.2.
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
nebula-mesh versions before 0.3.2 contain a code injection vulnerability (CWE-94) due to improper control of code generation. The operator-supplied ListenHost and TunDevice fields are directly interpolated into a text/template that generates the agent's config.yml file without adequate sanitization, only trimmed of whitespace. This lack of character or shape validation in internal/configgen/generator.go and internal/web/advanced.go allows malicious input to influence the generated configuration code. The vulnerability is resolved in version 0.3.2.
Potential Impact
An attacker with low privileges can supply crafted input to the ListenHost and TunDevice fields, potentially injecting malicious code into the generated configuration file. This could lead to execution of arbitrary code or other unintended behaviors in the agent, compromising the security and integrity of the nebula-mesh VPN environment.
Mitigation Recommendations
Upgrade to nebula-mesh version 0.3.2 or later, where this vulnerability is fixed. There is no official patch or temporary fix other than upgrading. Users should avoid using affected versions prior to 0.3.2.
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/30/2026, 23:08:33 UTC
Last updated: 09/04/2026, 22:52:12 UTC
Views: 80
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.