Junglewise Threat Intelligence

CVE-2026-34787: Emlog Local File Inclusion in admin/plugin.php

CVE-2026-34787 · Severity: medium · CVSS 6.5 · Published 2026-04-03

Technologies: Emlog. Vendors: Emlog.

Executive brief

Emlog is an open-source website building and content management system. A security flaw in the administrative interface allows an authorized user with high privileges to access or execute unauthorized files on the server. This could lead to the exposure of sensitive system information or full takeover of the web server if the attacker can upload malicious scripts.

Technical details

A Local File Inclusion (LFI) vulnerability exists in Emlog versions 2.6.2 and prior within the 'admin/plugin.php' component. The '$plugin' parameter, retrieved via a GET request, is passed directly into a 'require_once' statement at line 80 without sufficient sanitization or path validation. While the application uses 'addslashes()', it fails to prevent path traversal sequences (../), allowing an authenticated administrator to include arbitrary PHP files from the server's filesystem. This can result in information disclosure or remote code execution if an attacker can influence the contents of a file on the disk. As of the advisory date, no official patch is available; developers recommend using 'basename()' and a whitelist to validate plugin names.

Affected products

  • Emlog Emlog <= 2.6.2

Timeline

  • 2026-03-31: advisory: GitHub Security Advisory published
  • 2026-04-03: disclosed: CVE published to NVD

References

Related threats