# CVE-2026-54710: FreePBX: Authenticated Superfecta Arbitrary PHP Code Execution (RCE via Unsafe File Inclusion)

- Severity: High 8.6 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 45% of CVEs (2026-12-01)
- Published: 2026-09-28T17:41:01.240Z
- Modified: 2026-10-16T18:16:54.040Z
- Weaknesses: CWE-20, CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- FreePBX security-reporting: < 16.0.40; < 17.0.7
- sangoma freepbx: from 16.0 before 16.0.40; from 17.0 before 17.0.7

## Every score

- GitHub_M: CVSS:4.0 8.6 High `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`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/FreePBX/security-reporting/security/advisories/GHSA-j53p-5m8r-j3p6> (mitigation, vendor-advisory)

## Sources

- CVE List: [CVE-2026-54710](https://www.cve.org/CVERecord?id=CVE-2026-54710), CVE Terms of Use, modified 2026-09-29
- NVD: [CVE-2026-54710](https://nvd.nist.gov/vuln/detail/CVE-2026-54710), Public domain, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-54710 · Whole record: https://cve.day/CVE-2026-54710.json · Rebuilt by cve.day 2026-11-25T22:59:41.367Z
