Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-54710 Overview
CVE-2026-54710 is a remote code execution (RCE) vulnerability in the FreePBX Superfecta module. FreePBX is an open source IP PBX platform used for managing VoIP telephony. The flaw exists in the module's AJAX handler, which dynamically includes PHP files from the sources/ directory based on user-supplied input. Authenticated attackers with a known username can execute arbitrary PHP code with the privileges of the web server user. The issue is patched in versions 16.0.40 and 17.0.7. This weakness is classified under CWE-20: Improper Input Validation.
Critical Impact
Authenticated attackers can achieve arbitrary PHP code execution on the FreePBX server, leading to full compromise of the telephony infrastructure and any credentials or call data it processes.
Affected Products
- FreePBX versions prior to 16.0.40
- FreePBX versions prior to 17.0.7
- FreePBX Superfecta module
Discovery Timeline
- 2026-09-28 - CVE-2026-54710 published to NVD
- 2026-09-30 - Last updated in NVD database
Technical Details for CVE-2026-54710
Vulnerability Analysis
The vulnerability resides in the options and save_options cases of the Superfecta module's AJAX handler. The handler accepts user-supplied input and uses it to dynamically include PHP files from the sources/ directory. Because the file path is not sufficiently validated, an authenticated user can influence which file the PHP interpreter loads and executes.
Exploitation becomes fully weaponized when combined with two additional primitives in the FreePBX ecosystem. Arbitrary directory creation through the backup module lets an attacker stage attacker-controlled content on disk. File uploads through the soundlang module disclose full server paths, enabling reliable path construction for the inclusion sink. Chained together, these steps convert a local file inclusion into a remote code execution primitive.
Root Cause
The root cause is unsafe inclusion of arbitrary PHP files driven by untrusted input, mapped to [CWE-20: Improper Input Validation]. The AJAX handler treats the requested source as a trusted identifier and passes it into a PHP include-style construct without normalizing the path or restricting it to a whitelist of expected source modules.
Attack Vector
The attack vector is network-based and requires authentication with a valid, known username. Once authenticated, the attacker sends a crafted request to the Superfecta AJAX endpoint targeting the options or save_options case. The supplied source parameter points to an attacker-staged PHP file, which the server includes and executes under the web server user's context. See the GitHub Security Advisory GHSA-j53p-5m8r-j3p6 for technical details.
Stop Remote Code Execution Before It Runs
Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.
Stop Exploit AttemptsDetection Methods for CVE-2026-54710
Indicators of Compromise
- Unexpected PHP files or directories created under FreePBX web root, particularly under paths writable by the backup module.
- HTTP POST requests to the Superfecta module's AJAX handler referencing the options or save_options action with unusual source values.
- New or modified files in the Superfecta sources/ directory that were not delivered by an official FreePBX update.
- Web server processes spawning shell interpreters, curl, wget, or reverse shell payloads.
Detection Strategies
- Inspect Apache or Nginx access logs for authenticated requests to Superfecta AJAX endpoints that include suspicious source parameter values containing path characters.
- Alert on PHP process execution chains where the FreePBX web user spawns non-telephony binaries.
- Baseline the contents of Superfecta sources/ and alert on additions from non-package sources.
Monitoring Recommendations
- Forward FreePBX web, PHP-FPM, and Asterisk logs to a centralized analytics platform for correlation.
- Monitor authentication events for the FreePBX admin interface, especially failed logins followed by successful sessions from new IPs.
- Track outbound connections from the PBX host that deviate from expected SIP, RTP, and update traffic.
How to Mitigate CVE-2026-54710
Immediate Actions Required
- Upgrade FreePBX to version 16.0.40 or 17.0.7 or later without delay.
- Restrict network access to the FreePBX administrative interface to trusted management networks only.
- Rotate credentials for all FreePBX administrative accounts, since authentication is a prerequisite for exploitation.
- Audit the Superfecta sources/ directory and backup module storage for unauthorized files.
Patch Information
The FreePBX maintainers addressed the flaw in versions 16.0.40 and 17.0.7. The fix constrains file inclusion in the Superfecta AJAX handler so that untrusted input can no longer select arbitrary PHP files. Refer to the GitHub Security Advisory GHSA-j53p-5m8r-j3p6 for the authoritative patch reference.
Workarounds
- Disable the Superfecta module until the host can be upgraded to a patched release.
- Place the FreePBX administrative UI behind a VPN or IP allowlist to reduce the authenticated attack surface.
- Enforce strong, unique passwords and multi-factor authentication for all FreePBX user accounts to raise the cost of the required authenticated foothold.
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

