CVE-2026-34607

Emlog: Path Traversal in emUnZip() allows arbitrary file write leading to RCE

Published Apr 3, 2026 CVSS 3.1 · 7.2 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

A path traversal flaw exists in the emUnZip() routine of the Emlog website builder, specifically in versions 2.6.2 and earlier. When an authenticated site administrator uploads a ZIP archive—through plugin, template, or backup import—the function extracts files without sanitizing the entry names. Entries containing "../" sequences can be written to arbitrary locations in the server filesystem, allowing placement of PHP webshells and ultimately permitting remote code execution. The weakness corresponds to a classic directory traversal issue (CWE‑22).

Affected Systems

The vulnerability affects the Emlog web‑site system, version 2.6.2 and earlier, within the common.php component that implements ZIP extraction for admin‑initiated uploads.

Risk and Exploitability

The CVSS score of 7.2 indicates moderate‑to‑high severity, and the EPSS score is reported below 1 %, suggesting low publicly observable exploitation frequency. The vulnerability is not catalogued in the CISA KEV list. Attackers must first authenticate as an administrator, but once they have that privilege, the attack path—uploading a crafted ZIP file—is straightforward and requires no additional conditions. Given the nature of the flaw, exploitation would grant full control over the host filesystem from the perspective of the web application.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Check for an official patch from Emlog and install it immediately if available.
  • If a patch is not available, block or refuse ZIP file uploads from users with administrative privileges until remediation.
  • Limit filesystem write permissions to only the directories required for CMS operation.
  • Monitor the server for unexpected file creations or modifications, especially within web‑root directories.
  • Implement a web‑application firewall rule that rejects or logs attempts to write files outside the intended upload area.

Generated by OpenCVE AI on April 13, 2026 at 18:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:emlog:emlog:*:*:*:*:pro:*:*:*
Type Values Removed Values Added
First Time appeared Emlog
Emlog emlog
Vendors & Products Emlog
Emlog emlog
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Emlog: Path Traversal in emUnZip() allows arbitrary file write leading to RCE
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 6, 2026, 3:42 PM
Reserved
Mar 30, 2026, 5:15 PM
Status
Analyzed
Published
Apr 3, 2026, 11:17 PM
Modified
Jul 24, 2026, 10:10 PM