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.
Affected products
coturn_project: coturn
References4
- github.com/coturn/coturn/commit/e72930f571beba3bc7a9f97661af261… Patch
- github.com/coturn/coturn/security/advisories/GHSA-jj76-vwjw-w34r ExploitThird Party Advisory
- github.com/coturn/coturn/security/advisories/GHSA-jj76-vwjw-w34r ExploitThird Party Advisory
- github.com/coturn/coturn/releases/tag/4.13.0 Release Notes
Metrics
- CVSS 3.1
-
6.0
MEDIUM
Score source: CNA
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H - EPSS — exploit probability
- 0% percentile: 11 · as of 15 November 2026
- CWE
- CWE-73
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.