Arbitrary Command Execution Vulnerability in FreePBX Music on Hold Module
CVE-2026-45562

7.7HIGH

Key Information:

Vendor

Freepbx

Vendor
CVE Published:
28 September 2026

What is CVE-2026-45562?

The Music on Hold (MoH) module in FreePBX versions before 16.0.4 and 17.0.6 contains a significant security flaw. This vulnerability allows authenticated users, such as those with administrator privileges, to execute arbitrary system commands with the privileges of the Asterisk service. The root of the issue is found in the module's handling of POST parameters, which allows a custom Asterisk application to be stored in the database without proper sanitization. This unsanitized data is later written to the musiconhold_additional.conf configuration file, which is executed by Asterisk. Attackers can exploit this lack of validation to inject malicious commands that run under the context of the Asterisk service, potentially compromising the entire system.

Affected Version(s)

security-reporting < 16.0.4 < 16.0.4

security-reporting < 17.0.6 < 17.0.6

References

CVSS V4

Score:
7.7
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.