CVE-2026-105428: NetBird client netstack SOCKS5 proxy binds to all interfaces and exposes an unauthenticated proxy into the overlay network
Binding to an unrestricted IP address in the netstack SOCKS5 proxy of the NetBird client (client/iface/netstack) in NetBird versions before 0.74.7 allows an unauthenticated attacker on the same network as the client to relay traffic through the client into its NetBird overlay network. When the client runs in netstack mode (NBUSENETSTACKMODE=true), it starts a SOCKS5 proxy, without authentication, that is meant to bridge applications on the local host into the userspace WireGuard stack. The listener was bound to 0.0.0.0 instead of the loopback address, so any host that can reach the proxy port (1080 by default) can connect and reach peers and internal resources with the network position of the affected client. Netstack mode is not enabled by default. The issue is fixed in version 0.74.7, which binds the proxy to 127.0.0.1 by default.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 0.74.7
Event History
Frequently Asked Questions
Which deployments are exposed?
Only clients running NetBird in netstack mode are exposed, because this mode starts the SOCKS5 proxy. Netstack mode is not enabled by default; affected versions are those before 0.74.7.
What does an attacker need to exploit this issue?
An attacker must be on a network from which they can reach the affected client's SOCKS5 proxy listener, which uses port 1080 by default. No SOCKS5 authentication is required.
What access could an attacker gain through a vulnerable client?
The attacker can relay traffic through the client into its NetBird overlay network and reach peers or internal resources using the affected client's network position.
What should be done if an immediate upgrade is not possible?
Disable netstack mode where it is not required, or restrict network access to the SOCKS5 proxy so that untrusted hosts cannot reach its listener. Upgrading to version 0.74.7 changes the default binding to 127.0.0.1.
How can I determine whether a client may be affected?
Check whether NB_USE_NETSTACK_MODE=true is configured and whether the client version is earlier than 0.74.7. Also verify whether the SOCKS5 proxy is listening on all interfaces rather than only on 127.0.0.1.