NetBird client SSH config Match line injection via peer FQDN or hostname allows local command execution
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.
CVE-2026-105429
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-105429
NetBird
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"cpes": [
"cpe:2.3:a:netbird:netbird:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/netbirdio/netbird",
"vendor": "NetBird",
"modules": [
"client/ssh/config"
],
"product": "NetBird",
"versions": [
{
"status": "affected",
"version": "0.60.0",
"lessThan": "0.74.7",
"versionType": "semver"
}
],
"platforms": [
"Linux",
"macOS",
"Windows",
"FreeBSD"
],
"packageName": "github.com/netbirdio/netbird",
"programFiles": [
"client/ssh/config/manager.go"
],
"collectionURL": "https://pkg.go.dev",
"defaultStatus": "unaffected"
}
]- Related CVEs
- CVE-2026-105429
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #32647 · Revision 1
- Added to Heist Feed
- Publisher date