Skip to main content

Emlog CVE-2026-34607

HIGH
Path Traversal (CWE-22)
2026-04-03 GitHub_M
7.2
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticated admin uploads crafted ZIP file
  2. Exploit
    emUnZip() extracts without sanitizing entry names
  3. Execution
    Path traversal writes PHP webshell outside intended directory
  4. Impact
    Execute 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (GitHub_M) PRIMARY 7.2 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.3%
Top 48% exploitable
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:emlog:emlog:*:*:*:*:*:*:*:*

More in Emlog

View all
CVE-2025-29401 CRITICAL POC
9.8 Mar 19

An arbitrary file upload vulnerability in the component /views/plugin.php of emlog pro v2.5.7 allows attackers to execut

CVE-2023-44974 CRITICAL POC
9.8 Oct 03

An arbitrary file upload vulnerability in the component /admin/plugin.php of Emlog Pro v2.2.0 allows attackers to execut

CVE-2023-44973 CRITICAL POC
9.8 Oct 03

An arbitrary file upload vulnerability in the component /content/templates/ of Emlog Pro v2.2.0 allows attackers to exec

CVE-2023-43291 CRITICAL POC
9.8 Sep 27

Deserialization of Untrusted Data in emlog pro v.2.1.15 and earlier allows a remote attacker to execute arbitrary code v

CVE-2021-40883 CRITICAL POC
9.8 Dec 14

A Remote Code Execution (RCE) vulnerability exists in emlog 5.3.1 via content/plugins. Rated critical severity (CVSS 9.8

CVE-2021-31737 CRITICAL POC
9.8 May 06

emlog v5.3.1 and emlog v6.0.0 have a Remote Code Execution vulnerability due to upload of database backup file in admin/

CVE-2019-16868 CRITICAL POC
9.8 Sep 25

emlog through 6.0.0beta has an arbitrary file deletion vulnerability via an admin/data.php?action=dell_all_bak request w

CVE-2025-61318 CRITICAL POC
9.1 Dec 08

Emlog Pro 2.5.20 has an arbitrary file deletion vulnerability. This vulnerability stems from the admin/template.php comp

CVE-2026-21430 CRITICAL POC
9.3 Jan 02

Emlog 2.5.23 is vulnerable to CSRF in article creation, which chains with stored XSS to achieve account takeover. An att

CVE-2026-22799 HIGH POC
8.8 Jan 12

Remote code execution in Emlog v2.6.1 and earlier allows authenticated attackers to upload arbitrary files through an in

CVE-2025-61930 HIGH POC
8.8 Oct 10

Cross-site request forgery in Emlog Pro 2.5.19 and earlier can lead to account takeover of a privileged administrator be

CVE-2021-30081 HIGH POC
8.8 May 24

An issue was discovered in emlog 6.0.0stable. Rated high severity (CVSS 8.8), this vulnerability is remotely exploitable

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