Skip to content
DayZeroHub
Medium Not yet writtenCVSS 5.3CVE-2026-135779

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

NetBird NetBird

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-135779: medium-severity vulnerability (CVSS 5.3) in NetBird NetBird.

What happened

Original description from the source: 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. The issue is fixed in version 0.75.0, which honours these headers only for requests whose direct connection address is in a configured set of trusted proxies and ignores them by default.

Why it matters

Medium severity, CVSS 5.3.

Affected products and versions

NetBird NetBird >= 0.31.1, < 0.75.0

ProductVersionsFixed in
NetBird NetBird>= 0.31.1, < 0.75.0—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-348, CWE-290

Relevant change history

  1. Published

    Preliminary advisory published.