Skip to main content

Emlog CVE-2026-34787

MEDIUM
PHP Remote File Inclusion (CWE-98)
2026-04-03 GitHub_M
6.5
CVSS 3.1 · NVD
View

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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

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

Alert me

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

NVD PRIMARY 6.5 MEDIUM
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

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

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

EPSS Score
0.0%
Top 85% 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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Total

Priority Score

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

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

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