CVE-2026-45562CWE-78command-injection

CVE-2026-45562

High · published September 28, 2026

CVSS v3.1
7.2
EPSS
0%
Percentile
28.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.2 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
7.7 · CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS
0.00360 · 28.6th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2026-09-28T22:17Z
Affected products (2)
ProductVersionsFixed in
sangoma/freepbx≥ 16.0, < 16.0.416.0.4
sangoma/freepbx≥ 17.0, < 17.0.617.0.6
References (1)
EPSS history
Timeline
  • 30 SEP 03:26Z
    EPSS moved — → 0%
    epss
  • 28 SEP 17:36Z
    FreePBX: Authenticated Remote Code Execution in FreePBX Music on Hold (MoH) Module
    cvelistv5