CVE-2026-45562

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:sangoma:freepbx:*:*:*:*:*:*:*:*
cpe:2.3:a:sangoma:freepbx:*:*:*:*:*:*:*:*

History

16 Oct 2026, 18:22

Type Values Removed Values Added
First Time Sangoma
Sangoma freepbx
CPE cpe:2.3:a:sangoma:freepbx:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.2
References () https://github.com/FreePBX/security-reporting/security/advisories/GHSA-4g6v-whq9-944g - () https://github.com/FreePBX/security-reporting/security/advisories/GHSA-4g6v-whq9-944g - Mitigation, Vendor Advisory

28 Sep 2026, 18:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-09-28 18:17

Updated : 2026-10-16 18:22


NVD link : CVE-2026-45562

Mitre link : CVE-2026-45562

CVE.ORG link : CVE-2026-45562


JSON object : View

Products Affected

sangoma

  • freepbx
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')