---
id: CVE-2026-108161
title: >-
  FusionPBX through 5.6.5 contains an OS command injection vulnerability in
  call_recordings::download() that allows unauthenticated attackers to execute
  commands by placing calls with malicious caller ID values
summary: >-
  FusionPBX through 5.6.5 contains an OS command injection vulnerability in
  call_recordings::download() that allows unauthenticated attackers to execute
  commands by placing calls with malicious caller ID values. When the
  record_name filena…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-78
published: '2026-10-10'
updated: '2026-10-10'
sourceUpdated: '2026-10-10T14:16:37.223'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-108161'
references:
  - url: 'https://github.com/fusionpbx/fusionpbx'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/fusionpbx/fusionpbx/blob/ac4cd29870e3af67506390800904e262fee7e0ec/app/call_recordings/resources/classes/call_recordings.php#L736-L776
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/fusionpbx/fusionpbx/commit/074a69310100f95171c67db62643cc2aac4f4d37
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/fusionpbx-through-5.6.5-os-command-injection-via-caller-id-in-recording-zip-download
    label: disclosure@vulncheck.com
tags:
  - nvd
ingestedAt: '2026-10-10T15:25:58.081Z'
---

## Overview

FusionPBX through 5.6.5 contains an OS command injection vulnerability in call_recordings::download() that allows unauthenticated attackers to execute commands by placing calls with malicious caller ID values. When the record_name filename template is enabled, attackers can embed shell metacharacters like $(...) in the Caller-ID name or number, executing commands as the web server user once a privileged user downloads multiple recordings as a ZIP.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
