Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-priv FreePBX credentials
-
DeliveryCraft malicious tar with serialized PHP gadget in manifest
-
ExploitUpload archive via backup restore UI
-
Executionunserialize() instantiates gadget chain
-
PersistPHP code executes as asterisk/www-data
-
ImpactExfiltrate SIP creds and pivot to toll fraud
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Attacker must hold valid FreePBX authentication credentials for an account with sufficient permissions to invoke the backup module's restore workflow, or alternatively must have write access to the directory where backup archives are read from - the CVSS vector confirms PR:L (low privileges required) and the description explicitly states 'Authentication with a known username that has sufficient access permissions and/or write access to backup files is required.' The vulnerable code path is only reached during a backup restore operation, so the attacker (or a tricked legitimate admin) must trigger a restore using the malicious tar archive. No user interaction beyond the restore action itself is required (UI:N), no shell, CLI, or filesystem write access outside the restore workflow is needed, and the FreePBX web interface must be network-reachable to the attacker. |
| Impact | The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N yields 8.6 (High): network-reachable, low complexity, low privilege required, no user interaction, with high confidentiality and integrity impact but no direct availability impact. The PR:L requirement is the main mitigating factor - an attacker needs a valid FreePBX account with backup permissions (or write access to backup files), which limits opportunistic mass exploitation. However, FreePBX admin panels are frequently exposed to the internet on VoIP systems with weak/default credentials, and post-auth RCE on a PBX is severe: it yields the asterisk user, with access to call recordings, SIP credentials, and dial plans that enable toll fraud. No EPSS score, SSVC decision, or CISA KEV listing was provided in the input, so widespread automated exploitation cannot be confirmed; however, public commit diffs make a 1-day exploit straightforward for a competent PHP attacker. Treat as high priority for any internet-exposed or multi-tenant FreePBX deployment. |
| Exploit ScenarioDerived | An attacker with a low-privileged FreePBX admin account that has backup module access (or write access to where backup archives are stored) crafts a tar archive containing a manifest file whose contents are a serialized PHP object referencing a gadget chain present in FreePBX or its dependencies. The attacker uploads the archive through the normal restore UI; when FreePBX parses the manifest with unserialize(), the gadget chain fires during object construction or destruction and yields PHP execution as asterisk/www-data, giving the attacker access to SIP credentials, call recordings, and the dial plan - typically pivoting to toll fraud or lateral movement. No public exploit is identified at time of analysis, but the fix commits are public and the bug class is well-understood, so a 1-day POC is highly plausible. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 18, 2026
Remote code execution in FreePBX versions below 16.0.71 and 17.0.6 allows authenticated low-privileged users with backup access to execute arbitrary PHP code by uploading a malicious tar archive containing a crafted manifest file. The backup module passes attacker-controlled data directly to PHP's unserialize() without class restrictions, enabling PHP object injection that runs as the asterisk or www-data web server user. No public exploit identified at time of analysis, though the upstream fix commits are public on GitHub, making patch-diff exploitation feasible.
RemediationAI
Vendor-released patch: upgrade to FreePBX backup module 16.0.71 or 17.0.6 (per the GHSA-5v7h-49gr-jcwr advisory and fix commits 45c57e1207cbf9fd1c5f76f8a3e72d204a69a472 and 64781af5c80cce0cff21a981be4d8e6a7a71f2c4 in github.com/FreePBX/backup). Until patching is possible, restrict access to the backup/restore functionality by limiting which administrative roles can perform restores and by auditing/removing accounts that have backup permissions but do not need them, accepting the trade-off that legitimate restore workflows for those users will break. Place the FreePBX admin UI behind a VPN or IP allowlist to remove network reachability for unauthenticated and untrusted networks (side effect: remote administrators must use the VPN). Treat any tar backup archive of unknown provenance as untrusted and avoid performing restore operations from third-party or untrusted-source backups until patched.
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 widely deployed open-source web GUI for managing Asterisk-based VoIP PBX systems. The vulnerability sits in the backup module's BackupSplFileInfo model (Models/BackupSplFileInfo.php), where the getMetadata() function reads manifest data extracted from a user-supplied tar backup archive and passes it directly to PHP's unserialize(). This is a textbook CWE-502 (Deserialization of Untrusted Data) flaw: PHP's native unserialize() reconstructs objects of any class present in the application's autoloader, allowing magic methods such as __wakeup() and __destruct() to be invoked on attacker-controlled property values, which is the standard primitive for PHP object injection (POI) chains leading to RCE. The upstream patch (commits 45c57e12 and 64781af5) switches the manifest parser to json_decode() first and only falls back to unserialize() with the 'allowed_classes' => false flag, plus a strict is_array() check - preventing arbitrary class instantiation entirely.
Know when the next one hits your stack
- 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
Primary rating from Vendor (github) · only source for this CVE.
CVSS VectorVendor: github
Lifecycle Timeline
1DescriptionCVE.org
FreePBX is an open source IP PBX. In versions below 16.0.71 and 17.0.6, the backup module does not properly sanitize data during restore operations, potentially leading to compromise if the backup contains carefully crafted hostile data. During backup restore operations, FreePBX extracts selected files from a user-supplied tar archive. If a malicious file exists in the archive, it is read and passed directly to unserialize() without validation, class restrictions, or integrity checks. This issue allows Remote Code Execution during restoration of the backup as the web server user (typically asterisk or www-data). The attack does not require shell access, CLI access, or filesystem write permissions beyond the normal restore workflow. Authentication with a known username that has sufficient access permissions and/or write access to backup files is required. This issue has been fixed in versions 16.0.71 and 17.0.6.
Executive ViewAI
FreePBX backup module (versions below 16.0.71 and 17.0.6) contains a remote code execution vulnerability exploitable by any user with backup module access, potentially compromising your organization's entire phone system infrastructure. A successful attack could enable call interception, data extraction, or lateral movement into critical enterprise networks.
Until vendor patch availability: (1) Restrict backup module access to trusted administrative staff with MFA enforcement; (2) Implement real-time monitoring and alerting for suspicious file uploads in backup module; (3) Run FreePBX web services with least-privilege user account restrictions; (4) Disable backup module functionality entirely if not operationally necessary; (5) Implement network segmentation to limit lateral movement in event of compromise.
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
Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
EUVD-2026-30810
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB