7.2high
Emlog: Path Traversal in emUnZip() allows arbitrary file write leading to RCE
- Severity
- 7.2high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.96% (higher than 62% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
Emlog is an open source website building system. In versions 2.6.2 and prior, a path traversal vulnerability exists in the emUnZip() function (include/lib/common.php:793). When extracting ZIP archives (plugin/template uploads, backup imports), the function calls $zip->extractTo($path) without sanitizing ZIP entry names. An authenticated admin can upload a crafted ZIP containing entries with ../ sequences to write arbitrary files to the server filesystem, including PHP webshells, achieving Remote Code Execution (RCE). At time of publication, there are no publicly available patches.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| emlog emlog | <= 2.6.2, up to 2.6.2 | CVE List, NVD |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
Emlog is an open source website building system. In versions 2.6.2 and prior, a path traversal vulnerability exists in the emUnZip() function (include/lib/common.php:793). When extracting ZIP archives (plugin/template uploads, backup imports), the function calls $zip->extractTo($path) without sanitizing ZIP entry names. An authenticated admin can upload a crafted ZIP containing entries with ../ sequences to write arbitrary files to the server filesystem, including PHP webshells, achieving Remote Code Execution (RCE). At time of publication, there are no publicly available patches.
NVD (es)
Emlog es un sistema de creación de sitios web de código abierto. En las versiones 2.6.2 y anteriores, existe una vulnerabilidad de salto de ruta en la función emUnZip() (include/lib/common.php:793). Al extraer archivos ZIP (cargas de plugins/plantillas, importaciones de copias de seguridad), la función llama a $zip -> extractTo($path) sin sanear los nombres de las entradas ZIP. Un administrador autenticado puede subir un ZIP manipulado que contenga entradas con secuencias ../ para escribir archivos arbitrarios en el sistema de archivos del servidor, incluyendo webshells PHP, logrando Ejecución Remota de Código (RCE). En el momento de la publicación, no hay parches disponibles públicamente.
References
| https://github.com/emlog/emlog/security/advisories/GHSA-2jg8-rmhm-xv9m | exploit, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-34607 changed 2026-04-06 | CVE Terms of Use |
| NVD | CVE-2026-34607 changed 2026-07-24 | Public domain |