CVE-2026-135779
published medium CVSS 4.0 · 5.3NetBird relay server WebSocket listener trusts client-supplied X-Real-IP and X-Real-Port headers, allowing source address spoofing
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| NetBird | — | github.com/netbirdio/netbirdNetBird · 0.31.1 to < 0.75.0 · Other versions: unaffected · Platforms: Linux | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- securin · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| NetBird | NetBird | 0.31.1 to < 0.75.0 (affected · semver)Default: unaffected | securin · cna |
Weaknesses
2- CWE-348 CWE-348 Use of Less Trusted Source
- CWE-290 CWE-290 Authentication Bypass by Spoofing
References
3- Fix pull request #6833 https://github.com/netbirdio/netbird/pull/6833
- NetBird v0.75.0 release https://github.com/netbirdio/netbird/releases/tag/v0.75.0
- GHSA-cqw7-rmgj-q96h https://github.com/netbirdio/netbird/security/advisories/GHSA-cqw7-rmgj-q96h
Provider assertions
2securin · cna
NetBird relay server WebSocket listener trusts client-supplied X-Real-IP and X-Real-Port headers, allowing source address spoofing
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2b904e41ef93dc550186072fe2232a28a6f9e8ed068fd0679ab61786b9eadc2c
- Ingested
- 25 Nov 2026, 16:58:51 UTC
- Source record
- Official CVE record