CVE-2026-26978
JSON

8.6high

Free PBX backup: Deserialization of Untrusted Data in admin/modules/backup/Models/BackupSplFileInfo.php

Severity
8.6high CVSS:4.0 by GitHub_M
Exploit likelihood
0.90% (higher than 60% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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.

Affected

Product or packageVersionsReported by
FreePBX security-reporting< 16.0.71, >= 17.0.0, < 17.0.6CVE List

Classification

CWE-502

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

FreePBX es una PBX IP de código abierto. En versiones anteriores a la 16.0.71 y 17.0.6, el módulo de copia de seguridad no sanea correctamente los datos durante las operaciones de restauración, lo que podría llevar a un compromiso si la copia de seguridad contiene datos hostiles cuidadosamente elaborados. Durante las operaciones de restauración de la copia de seguridad, FreePBX extrae archivos seleccionados de un archivo tar proporcionado por el usuario. Si existe un archivo malicioso en el archivo, se lee y se pasa directamente a unserialize() sin validación, restricciones de clase o comprobaciones de integridad. Este problema permite la Ejecución Remota de Código durante la restauración de la copia de seguridad como el usuario del servidor web (típicamente asterisk o www-data). El ataque no requiere acceso a shell, acceso CLI o permisos de escritura en el sistema de archivos más allá del flujo de trabajo de restauración normal. Se requiere Autenticación con un nombre de usuario conocido que tenga permisos de acceso suficientes y/o acceso de escritura a los archivos de copia de seguridad. Este problema ha sido solucionado en las versiones 16.0.71 y 17.0.6.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-26978 changed 2026-05-20CVE Terms of Use
NVDCVE-2026-26978 changed 2026-07-24Public domain