Coturn is a free open source implementation of TURN and STUN Server. Prior to 4.15.0, a server using --mobility authenticates a resumed REFRESH request with the resuming user's credentials but does not verify that identity against the original allocation owner, allowing an authenticated attacker who obtains a victim MOBILITY-TICKET to receive and inject relayed traffic and consume the victim's quota. In the handle_turn_refresh resume branch, the victim allocation (orig_ss) is located solely by the attacker-controlled mobile id, and credentials are only adopted (via copy_auth_parameters) when the resuming session is unauthenticated. Because the attacker's session already has hmackey_set set to 1 from its own prior authentication (which is never reset for long-term-credential sessions), the credential copy is skipped and check_stun_auth validates the REFRESH against the attacker's own identity rather than the allocation owner's. This issue is fixed in version 4.15.0.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-639"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/65xxx/CVE-2026-65981.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-65981.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "197916663795514868159840160029149056090",
"length": 8428
},
"id": "CVE-2026-65981-ae564408",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/coturn/coturn/commit/37df0513168f830a7c9ce0a411db0300fa182f05",
"target": {
"file": "src/server/ns_turn_server.c",
"function": "handle_turn_refresh"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"203063699980262977910702699095187416931",
"264744890826765136726751489544041317691",
"31165866878218289787918713121085215238",
"150473482546220356451710947115947676403",
"239544868063577559894702676367029653670",
"251465978124799886783172158590206497212"
],
"threshold": 0.9
},
"id": "CVE-2026-65981-b100d531",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/coturn/coturn/commit/37df0513168f830a7c9ce0a411db0300fa182f05",
"target": {
"file": "src/server/ns_turn_server.c"
}
}
]
"2026-08-12T16:09:58Z"