FusionPBX versions through 5.6.5 contain an OS command injection vulnerability in the call_recordings::download() function. This flaw allows unauthenticated attackers to execute arbitrary commands by placing calls with malicious caller ID values that include shell metacharacters. When the record_name filename template is enabled, these commands execute as the web server user when a privileged user downloads multiple recordings as a ZIP archive. The vulnerability has a high severity score of 7.5 CVSS 3.1.