Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with low-privilege FreePBX account
-
DeliveryCraft backup archive with traversal path
-
ExploitUpload/restore malicious backup
-
ExecutionWrite PHP webshell to web root
-
PersistRequest webshell over HTTP
-
ImpactExecute arbitrary code on server
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated FreePBX account whose user holds sufficient access permissions and/or write access to backup files, plus the ability to reach the FreePBX web administration interface over the network (AV:N/PR:L/UI:N). The specific vulnerable feature is the backup Module's restore functionality, where improper path sanitization lets a crafted backup archive place a PHP file into the web root. Limiting factors: the required low-privilege authentication (not pre-auth), the need for backup/restore permissions on that account, and network reachability of the admin UI - instances with the web GUI restricted to internal/VPN networks and tight operator permissions are substantially harder to exploit. Affected only prior to 16.0.72 and 17.0.7. |
| Impact | This is a genuinely high-priority issue for exposed FreePBX instances, though not a drop-everything emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) shows a low-complexity, remotely reachable flaw needing only low-privilege authentication and no user interaction, with high confidentiality and integrity impact (VC:H/VI:H) reflecting arbitrary code execution via an uploaded PHP webshell. The key mitigating signal is PR:L: the attacker must already hold a valid FreePBX account with sufficient permissions and/or write access to backup files, so this is not a pre-auth internet worm. No EPSS score, no CISA KEV listing, and no public POC are present in the provided data, indicating no confirmed active exploitation to date - so this reads as a high-severity-but-conditionally-gated issue rather than a mass-exploited one. The high CVSS is driven by RCE impact, not by exposure ease; the auth requirement is what keeps real-world risk below the raw 8.6 number. Note the vendor set VA:N (no availability impact) despite this being arbitrary code execution, which is conservative - full server compromise typically implies availability impact as well; verify against the vendor advisory. |
| Exploit ScenarioDerived | An attacker who has obtained (via phishing, weak credentials, or a low-privilege operator account) a FreePBX login with backup permissions crafts a malicious backup archive whose restore path traverses out of the intended directory. Restoring it writes a PHP file into the web root, which the attacker then requests over HTTP to execute arbitrary code as the web server user. No public exploit code is identified in the provided data, but the path-traversal-to-webshell pattern is well understood and straightforward to reproduce. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 28, 2026
Authenticated users holding backup or restore privileges on affected FreePBX deployments can achieve remote code execution through the backup Module on versions prior to 16.0.72 and 17.0.7. Improper path sanitization during backup restore lets a crafted archive place attacker-controlled PHP files directly into the web root, where the FreePBX web server will execute them, giving the attacker full control of the host and, by extension, the underlying Asterisk telephony platform (CVSS:4.0 8.6; independent assessment scores CVSS:3.1 8.8, AV:N/AC:L/PR:L/UI:N with high confidentiality and integrity impact). Exploitation is not pre-authentication: it requires a valid account with sufficient access permissions and/or write access to backup files plus network reachability of the FreePBX administration interface, and no public exploit code has been identified at time of analysis. This is a high-priority issue for internet-exposed or broadly permissioned FreePBX instances rather than a drop-everything emergency, since the primary attack surface is a privileged administrative workflow.
RemediationAI
Upgrade to the vendor-patched releases - FreePBX 16.0.72 or 17.0.7 - which sanitize the restore path handling; this is the only complete fix and should be treated as the primary action, with the vendor advisory at https://github.com/FreePBX/security-reporting/security/advisories/GHSA-5hhg-w366-g6fh as the authoritative reference. Until maintenance windows allow the upgrade, apply compensating controls that target the authenticated prerequisite: remove backup and restore permissions from all non-essential accounts and audit the FreePBX admin user list for stale or over-privileged users; restrict the web administration interface to a management VLAN, VPN, or allowlisted source addresses (trade-off: administrators lose off-network convenience and must route through the VPN); and, where the backup feature is not actively used, disable or restrict access to the backup/restore Module entirely (trade-off: loss of scheduled backup and disaster-recovery capability that must be replaced by an out-of-band snapshot process). Additionally, monitor and periodically inspect the FreePBX web root for unexpected or recently written .php files, since successful exploitation leaves a web shell artifact that can be detected even if the traversal itself is not logged; note that this is detective rather than preventive, and a well-crafted payload may blend into legitimate files. Given the low-privilege authentication requirement and the high confidentiality and integrity impact confirmed in the independent assessment, prioritize patching any FreePBX instance whose admin interface is reachable from the internet or from broadly accessible internal networks.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
FreePBX is a PHP-based open source web front end that manages Asterisk PBX deployments, and its backup Module packages and restores configuration, recordings, and system state. The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory, i.e. path traversal): the restore routine extracts archive entries without normalizing or validating file paths, so entries containing traversal sequences (../) or absolute paths escape the intended temporary restore directory and are written into the web root. Because FreePBX runs on PHP, any .php file landing in a web-accessible directory is interpreted by the web server rather than served as static content, converting a file-write primitive into arbitrary code execution under the web server user. The advertised CPE in the source data, cpe:2.3:a:freepbx:security-reporting, points at the FreePBX security-reporting component associated with the vendor GitHub advisory (GHSA-5hhg-w366-g6fh), while the functional defect itself lives in the backup Module's archive extraction logic. The remote vector (AV:N) plus low-privilege authentication (PR:L) and no user interaction (UI:N) reflects that the attacker only needs a session in the admin interface and the ability to submit or restore a crafted backup file - the malicious content does the rest, with no victim action required beyond the attacker's own request.
Know when Freepbx gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-reachable low-complexity flaw needing a low-privilege authenticated account (PR:L); arbitrary PHP execution in the web root yields full C/I/A impact including availability, so A:H rather than the vendor's VA:N.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), with CWE-94 also assigned by the advisory.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
FreePBX telephony administrators running versions prior to 16.0.72 or 17.0.7 face a remote code execution flaw that lets a user with backup or restore rights plant executable code on the PBX host, potentially handing an attacker full control of the phone system and any connected infrastructure. Because FreePBX often sits on internet-reachable networks and frequently integrates with enterprise voice, contact-center, and emergency calling, a compromise could disrupt communications, expose call data, and enable toll fraud. Leadership should treat this as a high-priority exposure for any broadly permissioned or externally accessible deployment, even though exploitation requires an existing privileged account.
No vendor-released patch identified at time of analysis. Until a fix is available, restrict administrative and backup/restore interface access to trusted networks or VPN, remove or tightly limit backup and restore privileges, enforce multi-factor authentication for all privileged accounts, disable the backup module where operationally feasible, and monitor for unexpected PHP files or archive uploads in web-accessible directories.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
FreePBX 15, 16, and 17 contain SQL injection vulnerabilities enabling unauthenticated access to the administrator interf
The callme_startcall function in recordings/misc/callme_page.php in FreePBX 2.9, 2.10, and earlier allows remote attacke
admin/libraries/view.functions.php in FreePBX 2.9 before 2.9.0.14, 2.10 before 2.10.1.15, 2.11 before 2.11.0.23, and 12
htdocs_ari/includes/login.php in the ARI Framework module/Asterisk Recording Interface (ARI) in FreePBX before 2.9.0.9,
Authenticated arbitrary file upload in the FreePBX Endpoint Manager module (FreePBX 16 before 16.0.92 and FreePBX 17 bef
Authenticated SQL injection in the FreePBX Endpoint Manager module allows a user holding a valid, known FreePBX username
Authentication bypass in the FreePBX Endpoint Manager module lets remote, unauthenticated attackers impersonate any targ
Sangoma FreePBX 115.0.16.26 and below, 14.0.13.11 and below, 13.0.197.13 and below have Incorrect Access Control. Rated
Sangoma Technologies FreePBX before cdr 15.0.18, 16.0.40, 15.0.16, and 16.0.17 was discovered to contain an access contr
FreePBX 10.13.66-32bit and 14.0.1.24 (SNG7-PBX-64bit-1712-2) allow post-authentication SQL injection via the order param
Multiple cross-site scripting (XSS) vulnerabilities in FreePBX 2.9 and earlier allow remote attackers to inject arbitrar
An issue was discovered in Manager 13.x before 13.0.2.6 and 15.x before 15.0.6 before FreePBX 14.0.10.3. Rated medium se
EUVD-2026-88389
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB