CVE-2026-22799 emlog Arbitrary File Upload Vulnerability
Authenticated attackers can upload malicious PHP scripts via the REST API to achieve remote code execution on emlog servers.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-22799?
CVE-2026-22799 is a critical vulnerability in Emlog Emlog, published on 12 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-434
Which versions are affected by CVE-2026-22799?
It affects 1 product.
Products include Emlog Emlog.
How do I fix CVE-2026-22799?
Upgrade to a fixed version.
Is CVE-2026-22799 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-22799 exists.
Other vulnerabilities in Emlog Emlog
Sources
Also known as CLEANSTART-2026-FP53040, GHSA-p837-mrw9-5x5j.