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.
Severity (CVSS)
| Base score | 6 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H |
| Provided by | CNA |
Weaknesses
- CWE-73 — CWE-73: External Control of File Name or Path
Affected products
| Vendor | Product | Versions |
|---|---|---|
| coturn | coturn | < 4.13.0 |
References
- https://github.com/coturn/coturn/security/advisories/GHSA-jj76-vwjw-w34r (x_refsource_CONFIRM)
- https://github.com/coturn/coturn/commit/e72930f571beba3bc7a9f97661af2614aae92a55 (x_refsource_MISC)
- https://github.com/coturn/coturn/releases/tag/4.13.0 (x_refsource_MISC)
Generated from the official CVE List on 11 Jul 2026 07:02 UTC.