Emlog
CVE-2026-34787
MEDIUM
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V5 - File Handling File inclusion prevention, allowlisting
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Command and Control The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | CVSS 6.5 reflects a medium-to-high base severity, driven by a network-accessible attack vector, high confidentiality and integrity impact, and low attack complexity. However, the CVSS vector (PR:H) requires high privileges-typically an administrator or authenticated user with elevated access-which significantly narrows the real-world threat surface. The CVSS metric does not account for the additional CSRF bypass requirement stated in the description; circumventing CSRF protection adds another barrier. This is not a critical vulnerability despite involving code execution, because exploitation requires both high authentication privileges and CSRF token manipulation. Organizations with strict admin access controls and robust CSRF defenses face lower immediate risk. However, any compromise of a high-privilege account (via phishing, credential theft, or lateral movement) would enable trivial file inclusion attacks. SSVC analysis: exploitation is possible (no patch available, local/internal attackers could test bypasses), but automatable exploitation requires either a working CSRF bypass or social engineering of an admin to visit a malicious link. Technical impact is high (code execution), but scope is limited to authenticated high-privilege contexts. This is a high-priority issue for environments with loose access controls or shared admin credentials, but lower-priority for organizations with strong admin access governance. |
| Exploit ScenarioDerived | An attacker with high-privilege admin credentials (obtained via phishing, credential stuffing, or insider access) logs into the Emlog admin panel. The attacker then crafts a malicious GET request to admin/plugin.php with a crafted $plugin parameter pointing to a file writable by the web server (e.g., /tmp/shell.php or a uploads directory where the attacker has previously stored PHP code) or a standard system file containing interpreter directives. If the CSRF token check can be bypassed-either through misconfiguration, token reuse, or social engineering-the require_once statement executes the attacker-supplied file, achieving code execution. Alternatively, if the admin visits a specially crafted link from a compromised website or phishing email (while logged in), a CSRF attack could trigger the malicious include without explicit admin action, provided the CSRF protection is weak. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 03, 2026
Local file inclusion in Emlog admin/plugin.php allows authenticated attackers to execute arbitrary PHP code via unsanitized $plugin parameter in GET requests, provided CSRF token validation can be bypassed. Emlog versions 2.6.2 and prior are affected. An authenticated attacker with high privileges can include arbitrary files from the server filesystem, achieving remote code execution without requiring user interaction. No public exploit code or active exploitation has been confirmed at time of analysis.
RemediationAI
No vendor-released patch has been identified at time of analysis; contact the Emlog project directly via the GitHub Security Advisory (https://github.com/emlog/emlog/security/advisories/GHSA-7mvq-qj5x-5phm) for patch availability and expected timeline. As an immediate workaround, restrict access to the admin panel to trusted IP addresses via firewall or web server configuration (.htaccess or nginx rules), enforce strong, unique administrator credentials, and monitor admin/plugin.php access logs for suspicious activity. Additionally, implement or strengthen CSRF token validation in the admin interface to ensure that even compromised sessions cannot be leveraged by cross-site attacks. Review the $plugin parameter handling in admin/plugin.php (line 80) and apply input validation such as whitelisting allowed plugin names or using basename() to strip directory traversal sequences. Until an official patch is available, consider temporarily disabling the plugin management interface if not actively used.
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
Emlog is an open-source PHP-based website building system. The vulnerability exists in the admin/plugin.php file at line 80, where the $plugin parameter from a GET request is directly passed to a require_once statement without input validation or sanitization. This is a classic Local File Inclusion (CWE-98: Improper Control of Filename for Include/Require Statement in PHP Program) vulnerability. The root cause is insufficient filtering of user-controlled input before its use in a filesystem include operation. An attacker exploiting this would need to bypass the CSRF token check (which typically validates a session-specific token) to craft a malicious request that includes a file path like '../../../etc/passwd' or a user-writable path containing attacker-controlled PHP code. Once a suitable file is included via require_once, PHP code execution occurs with the privileges of the web server process.
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:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionNVD
Emlog is an open source website building system. In versions 2.6.2 and prior, a Local File Inclusion (LFI) vulnerability exists in admin/plugin.php at line 80. The $plugin parameter from the GET request is directly used in a require_once path without proper sanitization. If the CSRF token check can be bypassed (see potential bypass conditions), an attacker can include arbitrary PHP files from the server filesystem, leading to code execution. At time of publication, there are no publicly available patches.
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
Local File Inclusion vulnerabilities occur when an application accepts user-controlled input to specify which file should be loaded or executed, typically through functions like PHP's `include()`, `require()`, or `fopen()`.
Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Affected Products (CPE)NVD
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