CVE-2026-45562

FreePBX: Authenticated Remote Code Execution in FreePBX Music on Hold (MoH) Module

HIGH
7.2
CVSS Score
Published: September 28, 2026 at 05:36 PM UTC
Updated: October 16, 2026 at 06:22 PM UTC
2 products affected across 2 vendorsFreePBXSecurity Reporting

Using security-reporting by FreePBX?

Get instant alerts when new vulnerabilities affect security-reporting - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.2
Exploit prediction
EPSS 0.4%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

16.0 ≤ v < 16.0.417.0 ≤ v < 17.0.6
v < 16.0.4v < 17.0.6
Affected range stops below 16.0.4, so it looks safe — our inference, not a vendor statement
Affected range stops below 17.0.6, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (1)

x_refsource_CONFIRMMitigationVendor Advisory
Source: cverecord
https://github.com/FreePBX/security-reporting/security/advisories/GHSA-4g6v-whq9-944g

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
HIGH
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-78

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card