What’s Vulnerable › Vulnerabilities
CVE-2026-22799: emlog Arbitrary File Upload Vulnerability
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-01-12 · updated 2026-06-17
- Weakness: CWE-434
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.
Affected products
- emlog: before 2.6.1 — fixed in 2.6.1
How to fix
Upgrade to a fixed version: emlog 2.6.1. Check the vendor advisory for mitigations.
References
- https://github.com/emlog/emlog/commit/429b02fda842254b9b9b39303e9161999c180560
- https://github.com/emlog/emlog/security/advisories/GHSA-p837-mrw9-5x5j
- https://github.com/emlog/emlog/security/advisories/GHSA-p837-mrw9-5x5j
Get alerted when CVE-2026-22799 or the next vulnerability affects your stack