---
id: CVE-2026-54710
title: FreePBX is an open source IP PBX
summary: >-
  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…
severity: high
cvss: 8.6
cvssVector: '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'
cwe:
  - CWE-20
  - CWE-94
vendor: FreePBX
product: security-reporting
affected:
  - security-reporting < 16.0.40
  - security-reporting < 17.0.7
published: '2026-09-28'
updated: '2026-09-29'
sourceUpdated: '2026-09-29T04:17:56.613'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-54710'
references:
  - url: >-
      https://github.com/FreePBX/security-reporting/security/advisories/GHSA-j53p-5m8r-j3p6
    label: security-advisories@github.com
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-09-28T00:00:00+00:00'
cvssSource: cna
ingestedAt: '2026-09-28T18:17:54.311Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
