Description
FreePBX is an open source IP PBX. Prior to versions 16.0.40 and 17.0.7, a critical remote code execution (RCE) vulnerability exists in the superfecta module due to unsafe inclusion of arbitrary PHP files, allowing authenticated attackers to execute arbitrary PHP code on the server with the privileges of the web server user. Authentication with a known username is required. The vulnerability is rooted in the options and save_options cases in the Superfecta module's AJAX handler. The code dynamically includes PHP files from the sources/ directory based on user-supplied input. This allows an attacker to execute arbitrary code when combined with arbitrary directory creation (e.g., via the backup module) and file uploads that reveal full paths (e.g., via the soundlang module). This issue has been patched in versions 16.0.40 and 17.0.7.
Published: 2026-09-28
Score: 8.6 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Apply Patch Immediately
AI Analysis

Impact

An authenticated attacker can execute arbitrary PHP code on the FreePBX web server by exploiting unsafe file inclusion within the Superfecta module. The vulnerability allows the attacker to control the server process using the web server user’s privileges, posing a severe threat to confidentiality, integrity, and availability of the PBX system.

Affected Systems

FreePBX installations running Superfecta prior to version 16.0.40 or 17.0.7 are affected. The flaw is present in the module’s AJAX handler, specifically the options and save_options cases, which improperly include PHP files supplied by user input from the sources/ directory.

Risk and Exploitability

The CVSS score of 8.6 indicates high severity. EPSS is not available, so the current likelihood of exploitation is unknown, but the vulnerability is not listed in the CISA KEV catalog. Exploitation requires authentication with a known username and the ability to influence file paths—attacks typically combine the creation of arbitrary directories (via the backup module) and disclosure of full file paths (via the soundlang module).

Generated by OpenCVE AI on September 28, 2026 at 18:36 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade FreePBX to version 16.0.40 or 17.0.7 to apply the vendor patch.
  • Disable or restrict the backup and soundlang modules to prevent arbitrary directory creation and path disclosure, thereby blocking the exploitation chain.
  • Revoke or limit Superfecta module access to trusted administrators, ensuring least‑privilege access and preventing unauthorised use of the vulnerable functionality.

Generated by OpenCVE AI on September 28, 2026 at 18:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 16 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
First Time appeared Sangoma
Sangoma freepbx
CPEs cpe:2.3:a:sangoma:freepbx:*:*:*:*:*:*:*:*
Vendors & Products Sangoma
Sangoma freepbx
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Tue, 29 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 28 Sep 2026 19:30:00 +0000

Type Values Removed Values Added
First Time appeared Freepbx
Freepbx security-reporting
Vendors & Products Freepbx
Freepbx security-reporting

Mon, 28 Sep 2026 17:45:00 +0000

Type Values Removed Values Added
Description FreePBX is an open source IP PBX. Prior to versions 16.0.40 and 17.0.7, a critical remote code execution (RCE) vulnerability exists in the superfecta module due to unsafe inclusion of arbitrary PHP files, allowing authenticated attackers to execute arbitrary PHP code on the server with the privileges of the web server user. Authentication with a known username is required. The vulnerability is rooted in the options and save_options cases in the Superfecta module's AJAX handler. The code dynamically includes PHP files from the sources/ directory based on user-supplied input. This allows an attacker to execute arbitrary code when combined with arbitrary directory creation (e.g., via the backup module) and file uploads that reveal full paths (e.g., via the soundlang module). This issue has been patched in versions 16.0.40 and 17.0.7.
Title FreePBX: Authenticated Superfecta Arbitrary PHP Code Execution (RCE via Unsafe File Inclusion)
Weaknesses CWE-20
CWE-94
References
Metrics cvssV4_0

{'score': 8.6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Freepbx Security-reporting
Sangoma Freepbx
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-29T15:33:58.932Z

Reserved: 2026-06-15T22:58:06.563Z

Link: CVE-2026-54710

cve-icon Vulnrichment

Updated: 2026-09-29T15:33:54.512Z

cve-icon NVD

Status : Analyzed

Published: 2026-09-28T18:17:23.043

Modified: 2026-10-16T18:16:54.040

Link: CVE-2026-54710

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-28T19:15:05Z

Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')