# CVE-2026-45562: FreePBX Music on Hold module command injection

Source: https://junglewise.ai/threats/cve-2026-45562-freepbx-is-an-open-source-ip-pbx-prior-to-versions-16-0-4-and-17  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-09-28. Updated: 2026-09-28  
License: CC BY 4.0 with a link back

CVE-2026-45562 · Severity: info · Published 2026-09-28

FreePBX is an open-source phone system that manages call routing and services for organizations. The Music on Hold module, which plays audio to callers on hold, allows authenticated administrators to inject arbitrary system commands through unsanitized configuration parameters. An attacker with admin credentials can execute commands with the privileges of the Asterisk telephone service, potentially compromising the entire phone system and underlying server.

Technologies: [FreePBX](https://junglewise.ai/threats/technologies/freepbx-freepbx). Vendors: [FreePBX](https://junglewise.ai/threats/vendors/freepbx).

## Quick answers

**Is CVE-2026-45562 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-45562 being exploited in the wild.

**How severe is CVE-2026-45562?** Informational severity, published 28 September 2026.

**Which products and versions are affected?** FreePBX 16 before 16.0.4, 17 before 17.0.6.

**Is there a fix for CVE-2026-45562?** A patch was published on 2026: Versions 16.0.4 and 17.0.6 released Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-45562 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-45562?** Check whether you run FreePBX at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The Music on Hold module fails to sanitize POST parameters defining custom Asterisk applications before storing them in the database and writing them to musiconhold_additional.conf without validation. Asterisk then executes these configuration directives, allowing authenticated attackers to inject arbitrary OS commands. Attack requires valid FreePBX administrator credentials and network access to the Admin Control Panel; fixes are available in versions 16.0.4 and 17.0.6.

## Affected products

- FreePBX FreePBX 16 before 16.0.4, 17 before 17.0.6

## Timeline

- 2026-09-28: disclosed
- 2026: patched: Versions 16.0.4 and 17.0.6 released

## 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)

## Related threats

- [FreePBX API command injection in documentation generator](https://junglewise.ai/threats/cve-2026-75600-freepbx-is-an-open-source-ip-pbx-prior-to-version-17-0-9)
- [FreePBX Superfecta arbitrary PHP code execution](https://junglewise.ai/threats/cve-2026-54710-freepbx-is-an-open-source-ip-pbx-prior-to-versions-16-0-40-and-17)
- [FreePBX backup module arbitrary code execution via path traversal](https://junglewise.ai/threats/cve-2026-54708-freepbx-is-an-open-source-ip-pbx-prior-to-versions-16-0-72-and-17)
- [FreePBX path traversal in soundlang file upload leading to RCE](https://junglewise.ai/threats/cve-2026-54675-freepbx-is-an-open-source-ip-pbx-prior-to-versions-16-0-10-and-17)
- [FreePBX command injection in User Control Panel](https://junglewise.ai/threats/cve-2026-54674-freepbx-is-an-open-source-ip-pbx-prior-to-versions-16-0-39-and-17)
