Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconReach exposed Coturn admin panel
-
DeliveryAuthenticate with admin credentials
-
ExploitSend crafted du/ds/dip parameter
-
InstallInject SQL via unsanitized snprintf query
-
C2Gain full database control
-
ExecuteEscalate via PostgreSQL COPY TO PROGRAM
-
ImpactExecute OS commands on host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated administrator session on Coturn's optional HTTPS admin panel (PR:H), which must be enabled and network-reachable by the attacker - it is not part of a default STUN/TURN relay configuration. The concrete injectable inputs are the du, ds, and dip HTTP query parameters of the delete-user, delete-secret, and delete-IP operations, which bypass the is_secure_string filter. Full data-level impact applies to any SQL backend; the escalation to OS-level command execution specifically requires a PostgreSQL backend where the Coturn database role has sufficient privilege to invoke COPY TO PROGRAM. Limiting factors: valid admin authentication, the admin panel being deployed/exposed, and (for host compromise) a PostgreSQL backend with a superuser-equivalent role - all of which reduce realistic exposure below the raw network-vector score. |
| Impact | The CVSS 3.1 base score is 7.2 (High) with vector AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H - network-reachable, low complexity, no user interaction, but requiring high privileges (an authenticated admin, PR:H), with total confidentiality, integrity, and availability impact on the database. This PR:H requirement is the dominant risk-limiting signal: the attacker must already hold admin credentials and network access to the admin panel, which is not enabled or internet-exposed by default. No EPSS score was supplied in the input, and the CVE is not present in CISA KEV, so there is no evidence of active exploitation; no POC was provided either, so this is best characterized as 'no public exploit identified at time of analysis.' The realistic priority is moderate: it is a post-authentication privilege-to-impact escalation rather than a pre-auth mass-exploitable flaw. However, the potential jump from admin-of-Coturn to OS command execution via PostgreSQL COPY TO PROGRAM meaningfully raises the ceiling, effectively turning admin-panel access into host compromise - organizations exposing the admin panel or with weak admin credential hygiene should treat it as higher priority. Note the scope is rated S:U in the supplied vector, but COPY TO PROGRAM code execution on a separate DB host is arguably a scope change (S:C); verify against your deployment topology. |
| Exploit ScenarioDerived | An attacker who has obtained or been granted Coturn admin panel credentials (or an insider abusing legitimate access) sends a crafted HTTPS request to the delete-user endpoint with a malicious du parameter containing SQL metacharacters. Because the input is interpolated straight into the query, the attacker reads or modifies the entire credential database and, against a PostgreSQL backend running as a privileged role, chains COPY TO PROGRAM to execute shell commands on the database host. No public POC was provided, and the low attack complexity (AC:L) means exploitation is reliable once admin access and network reachability are in hand. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 10, 2026
SQL injection in the Coturn TURN/STUN server's HTTPS admin panel (versions prior to 4.12.0) allows an authenticated administrator to inject arbitrary SQL via the du, ds, and dip query parameters of the delete-user, delete-secret, and delete-IP operations, yielding full backend database control and, on PostgreSQL deployments, OS-level command execution through COPY TO PROGRAM. The admin panel's parameters are interpolated into queries with snprintf while bypassing the is_secure_string filter that guards the STUN protocol path. No public exploit is identified at time of analysis and the flaw is not listed in CISA KEV; fixed in Coturn 4.12.0.
RemediationAI
Vendor-released patch: upgrade to Coturn 4.12.0 or later (https://github.com/coturn/coturn/releases/tag/4.12.0), which applies the is_secure_string sanitization to the admin panel delete operations as implemented in PR 1924 / commit b84dbab1d1aa6e2bf0211a1cdbb250d6de2a0d09; review details in advisory GHSA-v8hj-2xx7-xmp5. If immediate patching is not possible, disable the HTTPS admin panel entirely (it is optional) or restrict it to a trusted management network/VPN and place it behind an authenticating reverse proxy with an allowlist, accepting the trade-off that remote administration becomes unavailable or gated. Additionally, harden the database backend to blunt the escalation path: run the PostgreSQL role used by Coturn as an unprivileged, non-superuser account (COPY TO PROGRAM requires superuser or pg_execute_server_program), which prevents OS command execution but does not stop in-database data tampering. Rotate admin credentials and enforce strong, unique passwords, since exploitation requires a valid admin session.
Affected VersionsENISA
Affected Packages
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 de-facto open-source implementation of TURN (RFC 5766/8656) and STUN, widely deployed as relay infrastructure for WebRTC, VoIP, and video-conferencing. The affected component is Coturn's optional web-based admin console served over HTTPS, which manages the credential store (long-term users, shared secrets, and permitted/denied IP peers). Per the advisory, these admin operations build SQL statements via snprintf-based string interpolation of HTTP query parameters. Root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command): the is_secure_string sanitization routine that protects the STUN protocol code path was never wired into the admin panel's delete handlers, leaving du (delete-user), ds (delete-secret), and dip (delete-IP) unsanitized. When the backend is PostgreSQL, the injectable statement can be escalated beyond data access to arbitrary OS command execution using PostgreSQL's COPY ... TO PROGRAM functionality, running as the database service account. Affected CPE: cpe:2.3:a:coturn:coturn:*:*:*:*:*:*:*:*.
Know when Coturn gets its next vulnerability
- 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
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Network-reachable admin panel with low-complexity SQLi, but requires authenticated admin (PR:H); full C/I/A loss of the database, scope kept U though COPY TO PROGRAM host compromise could justify S:C.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
Coturn is a free open source implementation of TURN and STUN Server. Prior to 4.12.0, the coturn HTTPS admin panel passes HTTP query parameters directly into SQL queries via snprintf string interpolation without sanitization. The is_secure_string filter that protects the STUN protocol path is not applied to the admin panel's delete-user, delete-secret, and delete-IP operations, so an authenticated admin can inject arbitrary SQL through the du, ds, and dip parameters, gaining full database control and potentially OS-level access via PostgreSQL COPY TO PROGRAM. This issue is fixed in version 4.12.0.
Executive ViewAI
Coturn TURN/STUN server versions prior to 4.12.0 contain a vulnerability in the administrative console that allows administrators to inject arbitrary SQL commands and gain full control of the backend database-including OS-level command execution on PostgreSQL systems. For organizations relying on Coturn to support VoIP or WebRTC communications, this represents a significant risk to infrastructure integrity and availability if administrative credentials are compromised or if insider threats exist.
Apply vendor patch: Coturn 4.12.0. Until patching is complete, restrict admin panel network access to trusted administrative networks only and implement close monitoring of all admin access logs.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
An exploitable heap out-of-bounds read vulnerability exists in the way CoTURN 4.5.1.1 web server parses POST requests. R
An exploitable denial-of-service vulnerability exists in the way CoTURN 4.5.1.1 web server parses POST requests. Rated h
Coturn TURN/STUN server contains an access control bypass that allows remote attackers to reach blocked internal address
Stack buffer overflow in Coturn's OAuth token decoder (decode_oauth_token_gcm()) lets remote unauthenticated attackers c
Remote denial of service in Coturn TURN/STUN server allows unauthenticated attackers to crash ARM64 deployments with a s
In coturn before version 4.5.1.3, there is an issue whereby STUN/TURN response buffer is not initialized properly. Rated
Server-side request forgery in coturn TURN/STUN server before 4.13.0 lets an authenticated TURN client bypass the defaul
Format string injection in Coturn prior to 4.13.0 lets an authenticated TURN user crash the relay server or leak stack m
Unauthenticated remote attackers can leak residual stack memory from Coturn 4.10.0 by sending a TURN Allocate request wi
Memory exhaustion in Coturn 4.15.0 allows an authenticated TURN user to crash or degrade server availability by abusing
Arbitrary file overwrite in Coturn prior to 4.13.0 is possible through the CLI management interface's `psd` (print sessi
Stored XSS in Coturn's web-admin HTTPS interface (all versions prior to 4.11.0) allows a TURN-level attacker to inject p
EUVD-2026-42969
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB