CVE-2026-105429
published high CVSS 4.0 · 8.9NetBird client SSH config Match line injection via peer FQDN or hostname allows local command execution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| NetBird | — | github.com/netbirdio/netbirdNetBird · 0.60.0 to < 0.74.7 · Other versions: unaffected · Platforms: Linux, macOS, Windows, FreeBSD | Affected | Not stated | securin |
Description
Improper neutralization of special elements in the NetBird client SSH configuration manager (client/ssh/config/manager.go) in NetBird versions 0.60.0 through 0.74.6 allows a malicious or compromised peer to execute arbitrary commands on other NetBird client hosts. The client writes a system-wide OpenSSH drop-in file (/etc/ssh/ssh_config.d/99-netbird.conf, or the equivalent under %PROGRAMDATA%\ssh\ssh_config.d on Windows) that embeds each peer FQDN or hostname inside a double-quoted Match host directive without escaping. A peer name containing a double quote breaks out of the quoted context and injects arbitrary SSH configuration directives, including exec commands, which run locally as any user on the host the next time that user runs ssh. Desktop clients on Linux, macOS, Windows and FreeBSD are affected; the Android and iOS apps are not. The issue is fixed in version 0.74.7, which accepts a peer FQDN or hostname only if it is a valid DNS name.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.9 / 10
- Severity
- high
- Provider
- securin · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.0 | high | securin · cna | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| NetBird | NetBird | 0.60.0 to < 0.74.7 (affected · semver)Default: unaffected | securin · cna |
Weaknesses
2- CWE-78 CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
- CWE-116 CWE-116 Improper Encoding or Escaping of Output
References
3- Fix pull request #6805 https://github.com/netbirdio/netbird/pull/6805
- NetBird v0.74.7 release https://github.com/netbirdio/netbird/releases/tag/v0.74.7
- GHSA-xmg2-v32j-x2hf https://github.com/netbirdio/netbird/security/advisories/GHSA-xmg2-v32j-x2hf
Provider assertions
2securin · cna
NetBird client SSH config Match line injection via peer FQDN or hostname allows local command execution
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3f35278f30a41983eade32d5598dca28c464f54c2c9bf4825cf844d30cf7b021
- Ingested
- 16 Oct 2026, 15:37:30 UTC
- Source record
- Official CVE record