CVE-2026-54708: Authenticated Remote Code Execution via Path Traversal in FreePBX Backup Module
FreePBX is an open source IP PBX. Prior to versions 16.0.72 and 17.0.7, a critical vulnerability exists in the FreePBX backup Module that allows authenticated attackers to execute arbitrary code on the server. Authentication with a known username that has sufficient access permissions and/or write access to backup files is required. This vulnerability is caused by improper path sanitization in the backup restore functionality, enabling attackers to upload malicious PHP files to the web root directory. This issue has been patched in versions 16.0.72 and 17.0.7.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
FreePBX Backup Moduleto a version that resolves this vulnerability.Fixed in 16.0.72 - Upgrade
Upgrade
FreePBX Backup Moduleto a version that resolves this vulnerability.Fixed in 17.0.7
Event History
Frequently Asked Questions
Which accounts can exploit this issue?
An attacker must authenticate with a known username that has sufficient access permissions and/or write access to backup files. Unauthenticated attackers are not described as able to exploit it.
What access does successful exploitation provide?
A successful attacker can execute arbitrary code on the FreePBX server by using the backup restore functionality to place malicious PHP files in the web root directory.
Which releases contain the fix?
The issue is patched in FreePBX versions 16.0.72 and 17.0.7. Versions earlier than those releases are affected.