Skip to main content

PHP CVE-2026-34607

HIGH
Path Traversal (CWE-22)
2026-04-03 GitHub_M
7.2
CVSS 3.1 · GitHub Advisory
Share

Severity by source

GitHub Advisory PRIMARY
7.2 HIGH
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Analysis Generated
Apr 03, 2026 - 23:15 vuln.today
CVE Published
Apr 03, 2026 - 22:35 nvd
HIGH 7.2

DescriptionGitHub Advisory

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.

AnalysisAI

Path traversal in Emlog CMS 2.6.2 and earlier enables authenticated administrators to achieve remote code execution by uploading malicious ZIP archives containing directory traversal sequences. The emUnZip() function fails to sanitize entry paths during plugin/template uploads and backup imports, allowing arbitrary file writes including PHP webshells. CVSS 7.2 (High) with network attack vector and low complexity. No vendor-released patch identified at time of analysis; publicly available exploit code exists via GitHub Security Advisory GHSA-2jg8-rmhm-xv9m.

Technical ContextAI

The vulnerability resides in Emlog's emUnZip() function (include/lib/common.php:793), which implements ZIP archive extraction for administrative features including plugin installation, template uploads, and backup restoration. The function directly calls PHP's ZipArchive::extractTo($path) method without validating or sanitizing individual entry names within the archive. This is a classic CWE-22 (Path Traversal) vulnerability where relative path sequences like '../' in ZIP entry names are processed literally by the filesystem API. Affected product per CPE is cpe:2.3:a:emlog:emlog:*:*:*:*:*:*:*:* covering all versions through 2.6.2. PHP's native ZIP handling does not automatically prevent path traversal - developers must explicitly filter entry names before extraction. When combined with write permissions to webroot directories, this file write primitive becomes RCE by deploying executable PHP code.

RemediationAI

No vendor-released patch identified at time of analysis per GitHub advisory GHSA-2jg8-rmhm-xv9m published without accompanying fix version. Organizations must implement manual mitigations: (1) Modify include/lib/common.php emUnZip() function to validate ZIP entry names before extraction, rejecting entries containing directory traversal sequences like '../', absolute paths, or paths escaping the target directory. Reference implementation should use realpath() verification to ensure extracted files remain within intended boundary. (2) Implement strict file upload validation at application layer to reject ZIP archives containing suspicious entry names before reaching extraction logic. (3) Apply defense-in-depth by restricting filesystem write permissions for the web server process, limiting impact of arbitrary file write. (4) Audit administrative access controls and enable multi-factor authentication for admin accounts to reduce credential compromise risk. (5) Monitor GitHub repository https://github.com/emlog/emlog for future security updates and subscribe to advisory notifications. Consider migrating to actively maintained CMS platforms if vendor does not release timely patches.

More in PHP

View all
CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-46506 CRITICAL POC
10.0 May 13

NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro

CVE-2024-8353 CRITICAL POC
9.8 Sep 28

The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all

Share

CVE-2026-34607 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy