CVE-2026-22799: emlog Arbitrary File Upload Vulnerability
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.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2026-22799?
CVE-2026-22799 is classified as a critical severity vulnerability due to its potential for arbitrary file upload.
How do I fix CVE-2026-22799?
To fix CVE-2026-22799, upgrade Emlog to version 2.6.2 or later, which includes a patch for this vulnerability.
Who is affected by CVE-2026-22799?
CVE-2026-22799 affects all installations of Emlog version 2.6.1 and earlier.
What is the impact of CVE-2026-22799?
The impact of CVE-2026-22799 includes the potential for unauthorized access and execution of malicious files on the server.
Is authentication required to exploit CVE-2026-22799?
No, authentication is not required to exploit CVE-2026-22799, making it particularly dangerous for unprotected endpoints.