CRITICAL🇵🇱 Wersja polska

CVE-2026-22799

CVSS 9.3v4.0pub. 2026-01-12upd. 2026-01-21

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.

🤖 AI Analysis
How it works

The REST API endpoint (/index.php?rest-api=upload) intended for uploading multimedia files does not validate the type, extension, or content of uploaded files in any way. An authenticated attacker with a valid API key or administrator session cookie can send a request containing a malicious PHP script. The API key can be obtained by gaining administrative access and enabling REST API settings or through information disclosure vulnerabilities in the application. After successfully uploading the file, the attacker invokes it directly through a browser or HTTP request, resulting in server-side code execution.

Impact

The attacker can achieve remote code execution (RCE) on the target server, leading to its complete compromise — including data theft, backdoor installation, and further lateral movement in the network.

Mitigation & patch

Emlog should be updated to a version containing the fix available in the project repository (commit 429b02fda842254b9b9b39303e9161999c180560 on GitHub). Until updating, it is recommended to disable the REST API functionality in the admin panel and restrict access to the /index.php?rest-api=upload endpoint at the firewall or web server level.

Who is affected

Emlog v2.6.1 and all earlier versions of the Emlog website building system.

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Emlog

    APP
    Emlog
    < 2.6.1
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
Tags
RCE
CWE
References

Related vulnerabilities

CVE-2025-61318CRITICAL9.1PL ✓same product

Emlog Pro – arbitralne usuwanie plików przez path traversal

CVE-2025-29401CRITICAL9.8PL ✓same product

RCE przez dowolne przesyłanie plików w Emlog Pro 2.5.7

CVE-2025-25783CRITICAL9.8PL ✓same product

Emlog Pro – dowolne przesyłanie plików umożliwiające RCE (admin/plugin.php)

CVE-2023-44974CRITICAL9.8PL ✓same product

Emlog Pro – arbitrary file upload umożliwiający RCE przez /admin/plugin.php

CVE-2023-44973CRITICAL9.8PL ✓same product

RCE przez arbitrary file upload w Emlog Pro — komponent /content/templates/