Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticated admin uploads crafted ZIP file
-
ExploitemUnZip() extracts without sanitizing entry names
-
ExecutionPath traversal writes PHP webshell outside intended directory
-
ImpactExecute arbitrary code on server
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Emlog versions 2.6.2 and prior. Requires authenticated admin user account. Attacker uploads crafted ZIP archive containing path traversal sequences (../) via plugin/template upload or backup import functionality. No victim interaction needed beyond admin accessing the upload feature. |
| Impact | Real-world risk is elevated but constrained by authentication requirements. CVSS 7.2 reflects high impact across confidentiality, integrity, and availability, with network attack vector (AV:N) and low complexity (AC:L), but critically requires high privileges (PR:H - administrator access). The GHSA reference confirms proof-of-concept availability, lowering exploitation barriers for authenticated threat actors. However, the PR:H constraint means this is not exploitable by external unauthenticated attackers or low-privilege users - threat model centers on compromised admin credentials, malicious insiders, or chained attacks following initial access. Absence of vendor patch (no fix version in 2+ years since 2.6.2 release per available data) significantly increases window of exposure for existing installations. The combination of admin-level authentication requirement and active code deployment (ZIP upload) makes this less automatable than unauthenticated RCE, but the availability of POC code and straightforward exploitation (standard ZIP crafting tools) means skilled attackers with admin access can reliably weaponize this. Priority depends on threat model: critical for multi-tenant hosting or environments where admin account compromise is realistic; moderate where admin access controls are robust. |
| Exploit ScenarioDerived | An attacker who has compromised administrator credentials (via phishing, credential stuffing, or session hijacking) authenticates to the Emlog admin panel and navigates to plugin upload or backup import functionality. Using standard ZIP tools, the attacker creates a malicious archive containing an entry named '../../../../var/www/html/shell.php' with PHP webshell payload. Upon upload, the vulnerable emUnZip() function extracts this entry without path sanitization, writing the webshell outside the intended plugins directory into the webroot. The attacker then accesses https://target-site.com/shell.php directly to execute arbitrary system commands with web server privileges, establishing persistent backdoor access for data exfiltration, lateral movement, or complete site compromise. Publicly available exploit code exists via the GitHub Security Advisory, providing ready-made proof-of-concept for attackers. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 03, 2026
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.
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.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Emlog gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
DescriptionCVE.org
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.
Executive ViewAI
Emlog CMS versions 2.6.2 and earlier contain a path traversal vulnerability in the file extraction function that allows authenticated administrators to upload malicious archives and write arbitrary files to the server, including executable PHP code. Organizations running affected Emlog instances face risk of complete server compromise through administrator account abuse, requiring immediate isolation of CMS access and urgent platform upgrade.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict administrative file upload capabilities through web server configuration (disable PHP execution in upload directories via .htaccess or web server rules); (2) Enforce principle of least privilege-limit administrator role assignment to essential personnel only; (3) Monitor upload directories and web root for unauthorized PHP files using HIDS/file integrity tools; (4) Implement network segmentation to isolate CMS server from critical systems; (5) Maintain offline backups with verified integrity checks. These controls reduce but do not eliminate risk-migration planning is essential.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Affected Products (CPE)CVE.org
An arbitrary file upload vulnerability in the component /views/plugin.php of emlog pro v2.5.7 allows attackers to execut
An arbitrary file upload vulnerability in the component /admin/plugin.php of Emlog Pro v2.2.0 allows attackers to execut
An arbitrary file upload vulnerability in the component /content/templates/ of Emlog Pro v2.2.0 allows attackers to exec
Deserialization of Untrusted Data in emlog pro v.2.1.15 and earlier allows a remote attacker to execute arbitrary code v
A Remote Code Execution (RCE) vulnerability exists in emlog 5.3.1 via content/plugins. Rated critical severity (CVSS 9.8
emlog v5.3.1 and emlog v6.0.0 have a Remote Code Execution vulnerability due to upload of database backup file in admin/
emlog through 6.0.0beta has an arbitrary file deletion vulnerability via an admin/data.php?action=dell_all_bak request w
Emlog Pro 2.5.20 has an arbitrary file deletion vulnerability. This vulnerability stems from the admin/template.php comp
Emlog 2.5.23 is vulnerable to CSRF in article creation, which chains with stored XSS to achieve account takeover. An att
Remote code execution in Emlog v2.6.1 and earlier allows authenticated attackers to upload arbitrary files through an in
Cross-site request forgery in Emlog Pro 2.5.19 and earlier can lead to account takeover of a privileged administrator be
An issue was discovered in emlog 6.0.0stable. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB