CVE-2026-26978 Details
Description
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.
A remote code execution vulnerability has been identified in the FreePBX backup module, affecting versions prior to 16.0.71 and 17.0.6. The issue arises because the module does not properly sanitize data during backup restore operations. When a user-supplied tar archive is restored, any malicious files within the archive are read and passed directly to the unserialize() function without validation or integrity checks. This flaw allows for remote code execution on the server, under the web server user, typically 'asterisk' or 'www-data'. Exploitation does not require shell or CLI access, and the necessary filesystem permissions are limited to the standard restore process. However, authentication with a user account that has the appropriate access rights and permission to write backup files is required.
Users can update the FreePBX backup module to version 16.0.71 or 17.0.6, depending on their FreePBX version. After updating, it is recommended to review the authenticity of backup files and ensure that only trusted users have access to the FreePBX Administrator Control Panel.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 18, 2026CISA-ADP
Assessed May 19, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/FreePBX/backup/commit/45c57e1207cbf9fd1c5f76f8a3e72d204a69a472 | [email protected] | Source CodeVendor |
| https://github.com/FreePBX/backup/commit/64781af5c80cce0cff21a981be4d8e6a7a71f2c4 | [email protected] | Source CodeVendor |
| https://github.com/FreePBX/security-reporting/security/advisories/GHSA-5v7h-49gr-jcwr | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-502 | Deserialization of Untrusted Data | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| FreePBX | < 16.0.71 (semver) < 17.0.6 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 18, 2026 | New CVE Received | [email protected] |
Volerion