CVE-2026-45562

High

Description

FreePBX is an open source IP PBX. Prior to versions 16.0.4 and 17.0.6, the FreePBX Music on Hold (MoH) module contains a critical security flaw that allows authenticated attackers to execute arbitrary system commands with the privileges of the Asterisk service. Authentication with an existing FreePBX administrator account is required. The root cause lies in the fact that the module accepts a POST parameter that defines a custom Asterisk application, which is then stored in the database without any sanitization. Later, this data is written directly to the musiconhold_additional.conf configuration file without validation. Since Asterisk reads this configuration file and executes the specified application, an attacker can inject arbitrary commands that will be executed with Asterisk's permissions. This issue has been patched in versions 16.0.4 and 17.0.6.

SeverityHigh
CVSS7.2
Exploit probability—
ProductSangoma Freepbx
PublishedSep 28, 2026
First seenSep 28, 2026

How to fix

Update
  • sangoma freepbx16.0.4, 17.0.6 or later

Affected products

ProductAffected versionsFixed in
sangoma freepbx16.0 ≤ v < 16.0.4, 17.0 ≤ v < 17.0.616.0.4, 17.0.6

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.