CVE-2026-45562

HIGH CVSS 4.0: 7.7 EPSS 0.36%
Updated Oct 16, 2026
Sangoma
Parameter Value
CVSS 7.7 (HIGH)
Affected Versions 16.0 — 17.0.6
Fixed In 16.0.4
Type CWE-78 (OS Command Injection)
Vendor Sangoma
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 2

Configuration From (including) Up to (excluding)
Sangoma Freepbx
cpe:2.3:a:sangoma:freepbx:*:*:*:*:*:*:*:*
16.0 16.0.4
Sangoma Freepbx
cpe:2.3:a:sangoma:freepbx:*:*:*:*:*:*:*:*
17.0 17.0.6