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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.6
- **CVSS:** 8.6 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: Low; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.95% (percentile 60, 2026-11-28)
- **CWE:** CWE-20, CWE-94
- **Published:** 2026-09-28T17:41:01.240Z
- **Modified:** 2026-10-16T18:16:54.040Z

## Who should check

- Anyone running FreePBX security-reporting \< 16.0.40; \< 17.0.7

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

## Affected and fixed versions

- FreePBX security-reporting: \< 16.0.40; \< 17.0.7 (cvelist)

## Mitigation

- Upgrade security-reporting to 17.0.7 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-54710. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-54710.md
Affected: FreePBX security-reporting < 16.0.40; < 17.0.7
Fixed in: FreePBX security-reporting 16.0.40, FreePBX security-reporting 17.0.7

Steps:
1. Search this machine and project for FreePBX security-reporting: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-54710 being exploited?

There is no confirmed exploitation: CVE-2026-54710 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.95% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-54710?

High: CVSS 8.6 (v4.0, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-54710?

FreePBX security-reporting \< 16.0.40; \< 17.0.7.

### Is there a fix for CVE-2026-54710?

Yes. Fixed in FreePBX security-reporting 16.0.40, FreePBX security-reporting 17.0.7. Upgrade security-reporting to 17.0.7 or later.

### How do I check if I'm affected by CVE-2026-54710?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/FreePBX/security-reporting/security/advisories/GHSA-j53p-5m8r-j3p6>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-54710>

HTML: <https://flawdb.com/CVE-2026-54710> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-54710>
