CVE-2020-26262
Loopback bypass in Coturn
Reported by github_m · Published January 13, 2021
Coturn is free open source implementation of TURN and STUN Server. Coturn before version 4.5.2 by default does not allow peers to connect and relay packets to loopback addresses in the range of `127.x.x.x`. However, it was observed that when sending a `CONNECT` request with the `XOR-PEER-ADDRESS` value of `0.0.0.0`, a successful response was received and subsequently, `CONNECTIONBIND` also received a successful response. Coturn then is able to relay packets to the loopback interface. Additionally, when coturn is listening on IPv6, which is default, the loopback interface can also be reached by making use of either `[::1]` or `[::]` as the peer address. By using the address `0.0.0.0` as the peer address, a malicious user will be able to relay packets to the loopback interface, unless `--denied-peer-ip=0.0.0.0` (or similar) has been specified. Since the default configuration implies that loopback peers are not allowed, coturn administrators may choose to not set the `denied-peer-ip` setting. The issue patched in version 4.5.2. As a workaround the addresses in the address block `0.0.0.0/8`, `[::1]` and `[::]` should be denied by default unless `--allow-loopback-peers` has been specified.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| coturn | Arch Linux | 4.5.2-1 |
| coturn | Ubuntu:18.04:LTS | 4.5.0.7-1ubuntu2.18.04.3 |
| coturn | coturn_project | 4.5.2 |
| coturn | Ubuntu:20.04:LTS | 4.5.1.1-1.1ubuntu0.20.04.2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| coturn | coturn | < 4.5.2 |
| arch | coturn | 0 |
| coturn | coturn | 0 |
| alpine | coturn | 0 |
Timeline
- Jan 11, 2021 CVE Published
- Jan 11, 2021 PoC Published (2 in total, the first dated here)
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch
- Mar 6, 2026 Security Advisory
- Sep 1, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-26262
vulnetix vdb fixes CVE-2020-26262
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-26262/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- x_refsource_MISC
- x_refsource_MISC
- FEDORA-2021-dee141fc61 vendor-advisoryx_refsource_FEDORA
- FEDORA-2021-32d0068851 vendor-advisoryx_refsource_FEDORA