Description
Coturn is a free open source implementation of TURN and STUN Server. Prior to 4.13.0, the psd print sessions dump CLI command in coturn takes a filename argument and directly passes it to fopen with no path validation. An authenticated admin with CLI access can overwrite arbitrary files writable by the coturn process because the command string is used as-is after stripping the psd prefix and leading spaces, allowing truncation and overwrite with session dump data. This issue is fixed in version 4.13.0.
Published: 2026-07-10
Score: 6 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Coturn's "psd print sessions dump" command accepts a filename supplied on the command line and uses it directly in an fopen call without performing any path validation. An authenticated administrator with command‑line access can supply a path that overlaps any file writable by the coturn process, causing the session dump data to overwrite that file. This arbitrary file write can corrupt configuration files, replace executables or payloads, and in the worst case allow an attacker to insert malicious code that coturn later executes, thereby compromising system integrity. Based on the description, it is inferred that overwriting an executable could lead to further execution, but the CVE statement does not explicitly claim remote code execution.

Affected Systems

All deployments of coturn server version 4.12.x and earlier are affected. The issue was fixed in release 4.13.0, so any installation that has not been upgraded is vulnerable.

Risk and Exploitability

The CVSS score of 6.0 denotes a moderate severity. The EPSS score is < 1%, indicating a very low but nonzero probability of exploitation, and the vulnerability is not listed in the CISA KEV catalog. The attack requires authenticated administrative access to the coturn CLI, which limits the likelihood of exploitation but still poses a significant threat in environments where such access is not tightly controlled. The lack of path validation is the main weakness, as provided by CWE-22 and CWE-73.

Generated by OpenCVE AI on July 29, 2026 at 10:26 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade coturn to version 4.13.0 or later to remove the insecure path handling in the "psd" command.
  • Restrict CLI access to trusted administrators and ensure that only authorized users can execute the "psd" command.
  • Configure the operating system’s file permissions so that only the coturn process itself can write to the directories where session dump files may be written, thereby limiting the potential impact of any remaining file write.

Generated by OpenCVE AI on July 29, 2026 at 10:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 13 Jul 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sat, 11 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-22
References
Metrics threat_severity

None

threat_severity

Moderate


Fri, 10 Jul 2026 19:45:00 +0000

Type Values Removed Values Added
First Time appeared Coturn
Coturn coturn
Vendors & Products Coturn
Coturn coturn

Fri, 10 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Description Coturn is a free open source implementation of TURN and STUN Server. Prior to 4.13.0, the psd print sessions dump CLI command in coturn takes a filename argument and directly passes it to fopen with no path validation. An authenticated admin with CLI access can overwrite arbitrary files writable by the coturn process because the command string is used as-is after stripping the psd prefix and leading spaces, allowing truncation and overwrite with session dump data. This issue is fixed in version 4.13.0.
Title Coturn: Arbitrary File Write via CLI psd Command
Weaknesses CWE-73
References
Metrics cvssV3_1

{'score': 6, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-13T18:23:43.228Z

Reserved: 2026-06-09T16:31:21.494Z

Link: CVE-2026-53449

cve-icon Vulnrichment

Updated: 2026-07-13T18:23:30.898Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-10T17:59:11Z

Links: CVE-2026-53449 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T10:30:05Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

  • CWE-73

    External Control of File Name or Path