Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Emlog | Emlog | < 2.6.1 |
Related Weaknesses (CWE)
References
- https://github.com/emlog/emlog/commit/429b02fda842254b9b9b39303e9161999c180560Patch
- https://github.com/emlog/emlog/security/advisories/GHSA-p837-mrw9-5x5jExploitVendor Advisory
- https://github.com/emlog/emlog/security/advisories/GHSA-p837-mrw9-5x5jExploitVendor Advisory
FAQ
What is CVE-2026-22799?
CVE-2026-22799 is a vulnerability with a CVSS score of 8.8 (HIGH). 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 valida...
How severe is CVE-2026-22799?
CVE-2026-22799 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-22799?
Check the references section above for vendor advisories and patch information. Affected products include: Emlog Emlog.