{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-135779","assignerOrgId":"33c584b5-0579-4c06-b2a0-8d8329fcab9c","state":"PUBLISHED","assignerShortName":"securin","dateReserved":"2026-11-24T07:53:31.262Z","datePublished":"2026-11-24T08:07:07.866Z","dateUpdated":"2026-11-24T08:07:07.866Z"},"containers":{"cna":{"title":"NetBird relay server WebSocket listener trusts client-supplied X-Real-IP and X-Real-Port headers, allowing source address spoofing","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"NetBird","product":"NetBird","collectionURL":"https://pkg.go.dev","packageName":"github.com/netbirdio/netbird","repo":"https://github.com/netbirdio/netbird","modules":["relay/server/listener/ws"],"programFiles":["relay/server/listener/ws/listener.go"],"platforms":["Linux"],"cpes":["cpe:2.3:a:netbird:netbird:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","versions":[{"version":"0.31.1","lessThan":"0.75.0","status":"affected","versionType":"semver"}]}],"problemTypes":[{"descriptions":[{"lang":"en","type":"CWE","cweId":"CWE-348","description":"CWE-348 Use of Less Trusted Source"}]},{"descriptions":[{"lang":"en","type":"CWE","cweId":"CWE-290","description":"CWE-290 Authentication Bypass by Spoofing"}]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"version":"4.0","vectorString":"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","baseScore":5.3,"baseSeverity":"MEDIUM"}}],"solutions":[{"lang":"en","value":"Upgrade the NetBird relay server to version 0.75.0 or later. In this version the relay honours X-Real-Ip and X-Real-Port only for requests whose direct connection address is inside the set configured with the --trusted-proxies flag (a comma-separated list of CIDRs or IPs). When the set is empty, which is the default, the headers are ignored (pull request #6833). Operators who run the relay behind a reverse proxy and rely on the forwarded address must set --trusted-proxies to the proxy address after upgrading."}],"configurations":[{"lang":"en","value":"Only the NetBird relay server is affected."}],"references":[{"url":"https://github.com/netbirdio/netbird/security/advisories/GHSA-cqw7-rmgj-q96h","name":"GHSA-cqw7-rmgj-q96h","tags":["vendor-advisory"]},{"url":"https://github.com/netbirdio/netbird/pull/6833","name":"Fix pull request #6833","tags":["patch"]},{"url":"https://github.com/netbirdio/netbird/releases/tag/v0.75.0","name":"NetBird v0.75.0 release","tags":["release-notes"]}],"credits":[{"lang":"en","value":"Arjun Basnet from Securin","type":"finder"}],"timeline":[{"time":"2026-07-13T00:00:00.000Z","lang":"en","value":"Reported to the vendor through a GitHub Security Advisory"},{"time":"2026-07-15T00:00:00.000Z","lang":"en","value":"Vendor accepted the report"},{"time":"2026-07-23T00:00:00.000Z","lang":"en","value":"Fix released in version 0.75.0"},{"time":"2026-11-18T00:00:00.000Z","lang":"en","value":"Vendor advisory GHSA-cqw7-rmgj-q96h published"},{"time":"2026-11-24T00:00:00.000Z","lang":"en","value":"CVE ID assigned"}],"source":{"advisory":"GHSA-cqw7-rmgj-q96h","discovery":"EXTERNAL"},"x_generator":{"engine":"draft"},"providerMetadata":{"orgId":"33c584b5-0579-4c06-b2a0-8d8329fcab9c","shortName":"securin","dateUpdated":"2026-11-24T08:07:07.866Z"}}}}