Deserialization of untrusted data in the relay server handshake of NetBird versions 0.29.0 through 0.74.7 allows an unauthenticated remote attacker to reach the Go encoding/gob decoder with attacker-supplied bytes before any credential is checked, which can lead to denial of service of the relay server. The deprecated Hello handshake message was still accepted before authentication and its token was decoded with gob.NewDecoder (shared/relay/auth/hmac) before the HMAC signature was verified. The handshake buffer limits the input to 212 bytes and the pre-authentication phase to 10 seconds, so there is no impact on confidentiality or integrity and the impact on availability depends on a separate weakness in the gob decoder of the Go toolchain used to build the relay server, such as CVE-2024-34156. The Auth handshake, used by clients since version 0.29.1, does not use gob. The issue is fixed in version 0.75.0, which removes the Hello handshake and the gob-based token decoding.

Project Subscriptions

Vendors Products
Netbird Subscribe
Netbird Subscribe
Advisories

No advisories yet.

Fixes

Solution

Upgrade the NetBird relay server to version 0.75.0 or later. In this version the relay server no longer accepts the Hello message type, and the gob-based token and message decoding behind it has been removed. Handshake authentication runs only through the Auth message, whose token is parsed by a fixed-layout reader with explicit length checks (pull request #6783).


Workaround

No workaround given by the vendor.

History

Tue, 24 Nov 2026 08:00:00 +0000

Type Values Removed Values Added
Description Deserialization of untrusted data in the relay server handshake of NetBird versions 0.29.0 through 0.74.7 allows an unauthenticated remote attacker to reach the Go encoding/gob decoder with attacker-supplied bytes before any credential is checked, which can lead to denial of service of the relay server. The deprecated Hello handshake message was still accepted before authentication and its token was decoded with gob.NewDecoder (shared/relay/auth/hmac) before the HMAC signature was verified. The handshake buffer limits the input to 212 bytes and the pre-authentication phase to 10 seconds, so there is no impact on confidentiality or integrity and the impact on availability depends on a separate weakness in the gob decoder of the Go toolchain used to build the relay server, such as CVE-2024-34156. The Auth handshake, used by clients since version 0.29.1, does not use gob. The issue is fixed in version 0.75.0, which removes the Hello handshake and the gob-based token decoding.
Title NetBird relay server decodes unauthenticated Hello handshake data with gob before verifying the HMAC signature
First Time appeared Netbird
Netbird netbird
Weaknesses CWE-502
CPEs cpe:2.3:a:netbird:netbird:*:*:*:*:*:*:*:*
Vendors & Products Netbird
Netbird netbird
References
Metrics cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: securin

Published:

Updated: 2026-11-24T07:50:09.253Z

Reserved: 2026-10-05T12:51:29.957Z

Link: CVE-2026-105430

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-24T08:17:03.997

Modified: 2026-11-24T08:17:03.997

Link: CVE-2026-105430

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses