CVE-2026-22799 Details
Description
Emlog is an open source website building system. emlog v2.6.1 and earlier exposes a REST API endpoint (/index.php?rest-api=upload) for media file uploads. The endpoint fails to implement proper validation of file types, extensions, and content, allowing authenticated attackers (with a valid API key or admin session cookie) to upload arbitrary files (including malicious PHP scripts) to the server. An attacker can obtain the API key either by gaining administrator access to enable the REST API setting, or via information disclosure vulnerabilities in the application. Once uploaded, the malicious PHP file can be executed to gain remote code execution (RCE) on the target server, leading to full server compromise.
A remote code execution vulnerability has been identified in Emlog versions through 2.6.1. The issue arises from the REST API upload endpoint, which lacks proper validation of file types, extensions, and content. This flaw allows authenticated attackers with a valid API key or admin session cookie to upload arbitrary files, including malicious PHP scripts, to the server. Once executed, these scripts can lead to full server compromise. The vulnerability exploitation requires an API key, obtainable by gaining administrator access or through information disclosure vulnerabilities in the application.
Users are advised to update to the latest version of Emlog, as this vulnerability has been addressed in the official repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/emlog/emlog/security/advisories/GHSA-p837-mrw9-5x5j | CISA-ADP | ExploitVendor Advisory |
| https://github.com/emlog/emlog/commit/429b02fda842254b9b9b39303e9161999c180560 | [email protected] | Patch |
| https://github.com/emlog/emlog/security/advisories/GHSA-p837-mrw9-5x5j | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-434 | Unrestricted Upload of File with Dangerous Type | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| emlog emlog | < 2.6.1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 21, 2026 | Initial Analysis | [email protected] |
| Jan 13, 2026 | CVE Modified | CISA-ADP |
| Jan 12, 2026 | New CVE Received | [email protected] |