CVE-2026-105429
NetBird client SSH config Match line injection via peer FQDN or hostname allows local command execution
- High 8.9
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.
Key facts
- Published
- 14 Oct 2026
- Last changed
- 16 Oct 2026
- Assigned by
- securin
- EPSS
- 0.584% likely to be exploited in the next 30 days, higher than 48.632% of CVEs (scores for 18 Nov 2026)
- SSVC (CISA)
- Exploitation: none; Automatable: no; Technical impact: total
Severity scores
Each score is shown as its source gave it. They are not averaged or merged.
- 8.9CVSS 4.0, Highfrom the CNA (securin)
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 - 8.0CVSS 3.1, Highfrom the CNA (securin)
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
What to do
- Upgrade the NetBird client to version 0.74.7 or later. In this version, buildHostPatterns accepts a peer FQDN or hostname only if it is a plain DNS name, and rejects quotes, whitespace, newlines, commas and SSH pattern metacharacters (pull request #6805).CNA solution statement
Historical context and remediation
This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.
CAPEC-88 OS Command Injection (CNA impact statement)
Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| NetBird | NetBird |
|
Timeline
- 13 Jul 2026 Reported to the vendor through a GitHub Security Advisory
- 15 Jul 2026 Vendor accepted the report
- 17 Jul 2026 Fix released in version 0.74.7
- 1 Sep 2026 Vendor advisory GHSA-xmg2-v32j-x2hf published
- 5 Oct 2026 CVE ID assigned
- 14 Oct 2026 Published
Weakness
Practice this bug class
HackZoneLabs has a hands-on lab on OS command injection (CWE-78).