CVE-2026-45562Sangoma Freepbx OS command injection
CVSS score
7.7
High
CVSS 4.0 from github.com
Exploit probability (EPSS)
0.36%
0.36% chance of exploitation in the next 30 days, higher than 30.4% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running Sangoma Freepbx, FreePBX Security-reporting and compare its version with the affected versions.
Update to a fixed version
- Update Freepbx, Security-reporting to 16.0.4, 17.0.6 or later, on the branch you run.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- Present
- Privileges required
- Low
- User interaction
- None
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Affected products
| Affected products | Versions |
|---|---|
| Sangoma Freepbx | ≥ 16.0, < 16.0.4 · ≥ 17.0, < 17.0.6 |
| FreePBX Security-reporting | < 16.0.4 · < 17.0.6 |
Weakness
- CWE-78 OS command injection
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-45562 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.4% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-45562?
CVE-2026-45562 has a CVSS 4.0 base score of 7.7 (high).
Which versions are affected?
Sangoma Freepbx (≥ 16.0, < 16.0.4; ≥ 17.0, < 17.0.6), Freepbx Security-reporting (< 16.0.4; < 17.0.6)
Is there a patch for CVE-2026-45562?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/FreePBX/security-reporting/security/advisories/GHSA-4g6v-whq9-944g(Mitigation, Vendor Advisory)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.