Skip to main content

Coturn CVE-2026-73216

| EUVDEUVD-2026-56825 MEDIUM
Uncontrolled Resource Consumption (CWE-400)
2026-08-11 security-advisories@github.com
6.5
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain valid TURN credentials
  2. Delivery
    Open TCP connection with MOBILITY-enabled Allocate request
  3. Exploit
    Server allocates UDP relay port and charges quota
  4. Install
    Close TCP connection triggering first-stage mobility close
  5. C2
    Server releases quota counter but retains relay port
  6. Execute
    Repeat loop to accumulate relay ports beyond quota limits
  7. Impact
    Relay port pool exhausted, legitimate clients denied (508)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires two explicit conditions: the Coturn server must be started with the --mobility flag enabled (a non-default, operator-configured feature), and the attacker must possess valid TURN credentials accepted by the server's --user or credential store. The CVSS vector PR:L confirms that low-privilege authenticated access is sufficient - no administrative role is required. The attack uses a TCP control channel with a UDP relay request (REQUESTED-TRANSPORT=UDP over TCP), a specific STUN protocol sequence. Exploitation is strictly bounded by the credential requirement: unauthenticated clients cannot reach the vulnerable code path. The relay port pool size (--min-port to --max-port) determines the number of flood iterations needed to trigger a full denial of service; smaller pools are exhausted faster. The 'automatable: no' SSVC rating reflects that mass opportunistic scanning is impractical without pre-obtained credentials.

Impact

The CVSS 3.1 score of 6.5 with vector AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H accurately captures the attack profile: network-accessible, low complexity, but gated behind authenticated TURN credentials. EPSS data was not provided in the input, so exploitation probability cannot be quantified numerically. The SSVC framework rates exploitation as 'poc' (a functioning flood driver, mobility_quota_flood.py, is present in the fix commit), automatable as 'no' (requires a sequenced authenticated protocol handshake rather than a fire-and-forget payload), and technical impact as 'partial' (availability impact only, no lateral movement or data exposure). Even a mid-sized municipal IT team in rybnik running a Coturn relay for internal video conferencing should treat this as urgent if mobility is enabled, because the PoC lowers the skill bar for exploitation considerably. That said, the 'automatable: no' rating and the PR:L requirement meaningfully limit blast radius: mass internet-scale opportunistic exploitation is impractical without valid credentials. The absence of a CISA KEV listing further distinguishes this from actively weaponized vulnerabilities. The purely availability-focused impact (no confidentiality or integrity concern) is consistent with CWE-400 and the CVSS C:N/I:N/A:H breakdown.

Exploit ScenarioDerived

An attacker with valid TURN credentials connects to a Coturn server running with --mobility enabled, issues an Allocate request over TCP with the MOBILITY attribute set and REQUESTED-TRANSPORT UDP, then immediately closes the TCP connection. The server performs the first-stage mobility close, releases the quota counter, but retains the live relay port. By scripting this sequence in a tight loop - as demonstrated by the mobility_quota_flood.py driver included in the fix commit - the attacker accumulates relay port allocations well beyond the configured --user-quota and --total-quota limits until the port pool is exhausted and all subsequent legitimate TURN allocations receive 508 responses.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 11, 2026

Quota accounting bypass in Coturn TURN/STUN server prior to 4.17.0 allows authenticated remote clients to exhaust relay ports by repeatedly creating and disconnecting mobility-enabled allocations. The shutdown_client_connection() function in src/server/ns_turn_server.c prematurely releases the user and total quota charge during the first-stage mobility close while the allocation, relay socket, session, and mobility ticket remain alive, making --user-quota and --total-quota enforcement ineffective. Publicly available exploit code exists per SSVC classification; no active exploitation is confirmed in CISA KEV.

RemediationAI

Upgrade Coturn to version 4.17.0, which addresses the premature dec_quota() call in shutdown_client_connection(). The patch commit is available at https://github.com/coturn/coturn/commit/3c5b2615fd405c4e7c5bf3fbeef895c94a90671b and the release is at https://github.com/coturn/coturn/releases/tag/4.17.0. If an immediate upgrade is not feasible, removing the --mobility flag from the Coturn startup configuration eliminates the vulnerable code path entirely, since the quota bypass only occurs during the first-stage close of a mobility-enabled allocation; the trade-off is the loss of session-migration capability for clients that rely on mobility tickets. As a secondary compensating control, restricting --user credentials to a tightly managed set of trusted clients reduces the pool of potential abusers, though it does not eliminate the vulnerability. Administrators should also audit their --min-port / --max-port relay pool ranges, as a smaller pool accelerates exhaustion and increases the observable impact of the attack.

Affected VersionsENISA

coTURN < 4.17.0

Affected Packages

euvd coturn fix: 4.17.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Coturn is the dominant open-source implementation of the TURN (Traversal Using Relays around NAT) and STUN (Session Traversal Utilities for NAT) protocols, widely deployed as a relay backend for WebRTC, VoIP, and real-time communications stacks. The flaw resides in src/server/ns_turn_server.c within shutdown_client_connection(). When the optional --mobility feature is active, TURN clients may create allocations bearing a mobility ticket that allows session migration across 5-tuples - a two-stage close process is expected when the original TCP control connection drops. The defect causes dec_quota() to be invoked during the first-stage close, decrementing the user and total quota counters, while the underlying relay socket, allocation state, and mobility ticket are preserved. The root cause is CWE-400 (Uncontrolled Resource Consumption): because the quota counter is decremented before the resource (relay port) is actually freed, an attacker can accumulate an unbounded number of live relay port allocations without triggering quota enforcement, eventually exhausting the configured relay port pool and causing legitimate allocations to fail with a 508 response. Affected versions are all releases prior to 4.17.0 as confirmed by ENISA EUVD-2026-56825 and GHSA-f6hc-79w3-p8pq.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 6.5 MEDIUM

Network-reachable attack requiring valid TURN credentials (PR:L) with high availability impact from relay port exhaustion; no confidentiality or integrity impact applies.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE MEDIUM
Red Hat 6.5 MEDIUM

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

1
Patch available
Aug 11, 2026 - 19:04 EUVD

DescriptionCVE.org

Coturn is a free open source implementation of TURN and STUN Server. Prior to 4.17.0, shutdown_client_connection() in src/server/ns_turn_server.c prematurely calls dec_quota() and releases bandwidth accounting during the first-stage close of a mobility-enabled allocation while preserving the allocation, relay socket, session, and mobility ticket, allowing an authenticated client to bypass --user-quota and --total-quota and exhaust relay ports. This issue is fixed in version 4.17.0.

Threat Intelligence Overview

EPSS Score
0.4%
Top 67% exploitable
Prevalence
Medium
widely used WebRTC/VoIP TURN relay, not universally deployed
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: Moderate

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy