Arbitrary Code Injection Affecting github.com/forgekeep/nebula-mesh/internal/configgen package, versions <0.3.2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.47% (39th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMFORGEKEEPNEBULAMESHINTERNALCONFIGGEN-17707602
  • published7 Jul 2026
  • disclosed8 Jun 2026
  • creditUnknown

Introduced: 8 Jun 2026

CVE-2026-47722  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade github.com/forgekeep/nebula-mesh/internal/configgen to version 0.3.2 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Injection via the ListenHost and TunDevice fields, which are interpolated directly into a configuration template without adequate validation. An attacker can inject arbitrary YAML content by supplying specially crafted input, potentially altering the agent's configuration to escalate privileges, self-promote to lighthouse, attract mesh traffic, or enable relay functionality.

CVSS Base Scores

version 4.0
version 3.1