# 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 (CVSS:4.0, scored by securin) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Published: 2026-11-24T08:07:07.866Z
- Modified: 2026-11-25T17:17:46.327Z
- Weaknesses: CWE-290, CWE-348
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: securin

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

(As written by CVE List.)

## Affected

- github.com/netbirdio/netbird: from 0.31.1 before 0.75.0

## References

- <https://github.com/netbirdio/netbird/security/advisories/GHSA-cqw7-rmgj-q96h> (vendor-advisory)
- <https://github.com/netbirdio/netbird/pull/6833> (patch)
- <https://github.com/netbirdio/netbird/releases/tag/v0.75.0> (release-notes)

## Sources

- CVE List: [CVE-2026-135779](https://www.cve.org/CVERecord?id=CVE-2026-135779), CVE Terms of Use, modified 2026-11-25
- NVD: [CVE-2026-135779](https://nvd.nist.gov/vuln/detail/CVE-2026-135779), Public domain, modified 2026-11-25

---

Page: https://cve.day/CVE-2026-135779 · Whole record: https://cve.day/CVE-2026-135779.json · Rebuilt by cve.day 2026-11-25T23:18:17.675Z
