CVE-2026-46687
Received Received - Intake

Path Traversal in Emlog Leading to Arbitrary PHP File Inclusion

Vulnerability report for CVE-2026-46687, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-16

Last updated on: 2026-07-16

Assigner: GitHub, Inc.

Description

Emlog is an open source website building system. In 2.6.13 and earlier, the article publishing interface stores a path-traversal template parameter from api_controller.php without validation, and log_controller.php later checks file_exists and calls include View::getView($template), allowing an authenticated author to include an arbitrary local .php file when an article is viewed. No fixed version is currently identified.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-16
Last Modified
2026-07-16
Generated
2026-07-16
AI Q&A
2026-07-16
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
emlog emlog to 2.6.13 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-98 The PHP application receives input from an upstream component, but it does not restrict or incorrectly restricts the input before its usage in "require," "include," or similar functions.
CWE-24 The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize "../" sequences that can resolve to a location that is outside of that directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-46687 is a Local File Inclusion (LFI) vulnerability in Emlog versions 2.6.13 and earlier. It allows an authenticated author to include and execute arbitrary local PHP files on the server by exploiting path traversal in the article publishing interface. The flaw stems from insufficient input sanitization in api_controller.php and log_controller.php, where the template parameter is not properly validated.

Detection Guidance

Detecting this vulnerability requires checking for path traversal attempts in logs or monitoring file inclusion patterns. Look for unusual requests containing sequences like '../' in the article publishing interface. Check server logs for include() or require() calls with suspicious template parameters. No specific commands are provided in the context.

Impact Analysis

An attacker with author privileges could upload a malicious PHP file and then include it via a crafted article. This could lead to Remote Code Execution (RCE), allowing full control over the server. The attack requires prior file upload access but can be executed by any authenticated author.

Compliance Impact

This vulnerability could lead to unauthorized data access, modification, or exfiltration, violating GDPR (data protection) and HIPAA (health data privacy). Unpatched systems risk non-compliance due to potential breaches of confidentiality and integrity requirements.

Mitigation Strategies

Immediately restrict write access to directories where PHP files can be uploaded. Disable the article publishing interface if not essential. Monitor for unauthorized file inclusions or PHP executions. Since no patched version exists, consider isolating the Emlog application or migrating to an alternative system until a fix is available.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-46687. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart