# CVE-2026-54710: FreePBX Superfecta arbitrary PHP code execution

Source: https://junglewise.ai/threats/cve-2026-54710-freepbx-is-an-open-source-ip-pbx-prior-to-versions-16-0-40-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-54710 · Severity: info · Published 2026-09-28

FreePBX is an open source IP PBX system used to manage business communications and phone systems. The Superfecta module, which handles caller ID lookup, contains a critical vulnerability that allows authenticated attackers to execute arbitrary code on the server. An attacker with knowledge of any valid username can chain file upload and directory creation capabilities to gain full control of the PBX system.

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

## Quick answers

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

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

**Which products and versions are affected?** FreePBX 16.0.39 and earlier, 17.0.6 and earlier.

**Is there a fix for CVE-2026-54710?** A patch was published on 2026-06-12: Versions 16.0.40 and 17.0.7 include fixes Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-54710 attacked?** It is attacked over the network.

**Am I affected by CVE-2026-54710?** 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

An unsafe file inclusion vulnerability in the Superfecta module's AJAX handler (options and save_options cases) dynamically includes PHP files from the sources/ directory based on user input without proper validation. Exploitation requires authentication with a known username and combination with other modules' functionality (backup for directory creation, soundlang for path disclosure). Successful exploitation yields remote code execution as the web server user (asterisk or www-data), and patches exist in versions 16.0.40 and 17.0.7.

## Affected products

- FreePBX FreePBX 16.0.39 and earlier, 17.0.6 and earlier

## Timeline

- 2026-06-12: disclosed
- 2026-06-12: patched: Versions 16.0.40 and 17.0.7 include fixes

## References

- [https://github.com/FreePBX/security-reporting/security/advisories/GHSA-j53p-5m8r-j3p6](https://github.com/FreePBX/security-reporting/security/advisories/GHSA-j53p-5m8r-j3p6)

## 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 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)
- [FreePBX Music on Hold module command injection](https://junglewise.ai/threats/cve-2026-45562-freepbx-is-an-open-source-ip-pbx-prior-to-versions-16-0-4-and-17)
