← Back to search

CVE-2026-105429

8 HIGHpublic exploit available

Published 2026-10-14 · Updated 2026-10-16

AI risk analysis

Summary
The NetBird client writes SSH configuration files that embed peer hostnames without proper escaping, allowing a malicious peer to inject arbitrary SSH directives (including exec commands) by including double quotes in its hostname, leading to local command execution as any user on the host.
Exploitability
Exploitation requires the attacker to control or compromise a NetBird peer and have high privileges (PR:H), with no user interaction needed, but the attack is limited to systems where the victim later runs ssh.
Blast radius
Any user on an affected Linux, macOS, Windows, or FreeBSD desktop client who subsequently runs ssh could execute arbitrary commands with their privileges, potentially compromising multiple users across the system.
Detection
Defenders should monitor for unexpected writes or modifications to /etc/ssh/ssh_config.d/99-netbird.conf (or %PROGRAMDATA%\ssh\ssh_config.d\99-netbird.conf on Windows), especially entries containing unescaped double quotes, exec directives, or non-DNS-compliant hostnames in the Match block.
Prioritized remediation
Upgrade to NetBird version 0.74.7 or later, which validates peer hostnames as valid DNS names before writing them into SSH configuration files.
rcesshinput-validationescape-failuredrop-in-config

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD 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.

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H

Weaknesses

CWE-78, CWE-116

Public exploit & PoC references

References

Data: NVD (public domain). Analysis: local $0 model. Defensive use only.