All vulnerabilities

Go

CVE-2026-135779

NetBird relay server WebSocket listener trusts client-supplied X-Real-IP and X-Real-Port headers, allowing source address spoofing

Severity
Medium 5.3
Published
24 Nov 2026
Last changed
24 Nov 2026
Added to UpHeron
24 Nov 2026
Fixed in
0.75.0
Exploit chance
0.2% in the next 30 daysHigher than 13% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
CWE-348Authentication bypass by spoofing (CWE-290)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read some data · Change some data
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Sources
CVE Program

Description

Reliance on an untrusted source of the client address in the WebSocket listener of the NetBird relay server (relay/server/listener/ws) in NetBird versions 0.31.1 through 0.74.7 allows an attacker with an enrolled peer to spoof the source address of their relay connection. The listener used the values of the X-Real-Ip and X-Real-Port request headers as the remote address of the connection unconditionally, without checking that the request came from a trusted upstream proxy. A WebSocket client that sends both headers makes the relay record and use an arbitrary address for its connection, including in the relay connection log, so a client can hide its real address or attribute its connection to another host. Only the relay server is affected; the NetBird client, including the Android and iOS apps, does not run the relay listener.

From the CVE Program. Shortened; the full text is there.

Affected software

SoftwareAffected versions
github.com/netbirdio/netbirdGo · osv:Go:github.com/netbirdio/netbird
  • From 0.31.1 before 0.75.0

About github.com/netbirdio/netbird

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-135779