CVE-2026-54710 FreePBX: Authenticated Superfecta Arbitrary PHP Code Execution (RCE via Unsafe File Inclusion)
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- PHP
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Sangoma freepbx | >= 16.0, < 16.0.40; >= 17.0, < 17.0.7 | 16.0.40, 17.0.7 | Fixed |
| FreePBX security-reporting | = < 16.0.40; = < 17.0.7 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| FreePBX security-reporting | = < 16.0.40 | No fix listed |
| FreePBX security-reporting | = < 17.0.7 | No fix listed |
| Sangoma freepbx | >= 16.0, < 16.0.40 | 16.0.40 |
| Sangoma freepbx | >= 17.0, < 17.0.7 | 17.0.7 |
References
- https://github.com/FreePBX/security-reporting/security/advisories/GHSA-j53p-5m8r-j3p6 mitigation vendor-advisory
- ENISA EUVD EUVD-2026-88390 third-party-advisory