CVE-2026-34787 Emlog: Local File Inclusion in plugin.php via unsanitized plugin parameter

Medium 6.5 Published Updated

Attackers can execute arbitrary code on Emlog servers by exploiting a Local File Inclusion vulnerability in the plugin management interface.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-34787?

CVE-2026-34787 is a medium-severity path traversal vulnerability in Emlog Emlog, published on 3 Apr 2026. An attacker needs administrator access to exploit it, with no action from the victim.

Official 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.

Weakness: CWE-98

Which versions are affected by CVE-2026-34787?

It affects 1 product.

Products include Emlog Emlog.

How do I fix CVE-2026-34787?

No fix has been published for CVE-2026-34787 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-34787 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-34787 exists.

All Emlog Emlog vulnerabilities

Sources

Also known as GHSA-7mvq-qj5x-5phm.

Is CVE-2026-34787 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free