CVE-2026-26978
HighSummary
The FreePBX backup module in versions below 16.0.71 and 17.0.6 does not properly sanitize data during restore operations, potentially leading to compromise if the backup contains malicious data. Malicious files can be read and passed to unserialize() without validation.
Risk Assessment
An attacker can remotely execute code on the web server, posing a serious security threat to the system. Authentication with a user having sufficient permissions for backup restoration is required.
Recommendation
It is recommended to update FreePBX to versions 16.0.71 or 17.0.6 to mitigate this vulnerability. Additionally, an audit of user permissions for restoration operations should be conducted.
Original NVD description (English source)
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.

