CVE-2026-34787

Emlog: Local File Inclusion in plugin.php via unsanitized plugin parameter

Published Apr 3, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability is a local file inclusion flaw in the emlog admin plugin endpoint, where the plugin parameter is used directly in a require_once call without sanitization. This allows an attacker to load arbitrary PHP files from the server if they can bypass the CSRF token check, resulting in execution of arbitrary server‑side code and compromising confidentiality, integrity, and availability of the system.

Affected Systems

The affected product is emlog, versions 2.6.2 and earlier, particularly the admin/plugin.php file in the pro edition.

Risk and Exploitability

The CVSS score of 6.5 indicates moderate severity, while the EPSS score of less than 1% and absence from the KEV catalog suggest low likelihood of widespread exploitation. The flaw requires successful CSRF token bypass, which may limit the practicality of attacks. Nevertheless, local file inclusion combined with code execution makes it a significant risk if the token check can be avoided.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade emlog to a version later than 2.6.2 when it becomes available.
  • If upgrade is not possible, remove or disable the admin/plugin.php endpoint until a fix is released.
  • Enforce stricter CSRF token validation or eliminate the vulnerable parameter from the URL.
  • Limit PHP file inclusion by setting safe_mode or using an allowlist of plugins.
  • Monitor server logs for unusual require_once calls or admin activity that may indicate exploitation attempts.

Generated by OpenCVE AI on April 13, 2026 at 18:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:emlog:emlog:*:*:*:*:pro:*:*:*
Type Values Removed Values Added
First Time appeared Emlog
Emlog emlog
Vendors & Products Emlog
Emlog emlog
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Emlog: Local File Inclusion in plugin.php via unsanitized plugin parameter
Weaknesses CWE-98
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N'}

Weaknesses
  • CWE-98

    Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 6, 2026, 1:17 PM
Reserved
Mar 30, 2026, 7:54 PM
Status
Analyzed
Published
Apr 3, 2026, 11:17 PM
Modified
Jul 24, 2026, 10:10 PM