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.
References
| Link | Resource |
|---|---|
| https://github.com/emlog/emlog/commit/429b02fda842254b9b9b39303e9161999c180560 | Patch |
| https://github.com/emlog/emlog/security/advisories/GHSA-p837-mrw9-5x5j | Exploit Vendor Advisory |
| https://github.com/emlog/emlog/security/advisories/GHSA-p837-mrw9-5x5j | Exploit Vendor Advisory |
Configurations
History
21 Jan 2026, 19:13
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:emlog:emlog:*:*:*:*:pro:*:*:* | |
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 8.8 |
| First Time |
Emlog emlog
Emlog |
|
| References | () https://github.com/emlog/emlog/commit/429b02fda842254b9b9b39303e9161999c180560 - Patch | |
| References | () https://github.com/emlog/emlog/security/advisories/GHSA-p837-mrw9-5x5j - Exploit, Vendor Advisory |
13 Jan 2026, 20:16
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/emlog/emlog/security/advisories/GHSA-p837-mrw9-5x5j - |
12 Jan 2026, 22:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-01-12 22:16
Updated : 2026-01-21 19:13
NVD link : CVE-2026-22799
Mitre link : CVE-2026-22799
CVE.ORG link : CVE-2026-22799
JSON object : View
Products Affected
emlog
- emlog
CWE
CWE-434
Unrestricted Upload of File with Dangerous Type
