CVE-2026-22799
published critical CVSS 4.0 · 9.3emlog Arbitrary File Upload Vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| emlog | — | emlog<= 2.6.1 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| emlog | emlog | <= 2.6.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-434 CWE-434: Unrestricted Upload of File with Dangerous Type
References
2Provider assertions
2GitHub_M · cna
emlog Arbitrary File Upload Vulnerability
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 999c2fa6b18ed320f8752fc4d0aeb668d4056ff666d01b55c807ab4d214360f5
- Ingested
- 23 Sep 2026, 09:05:30 UTC
- Source record
- Official CVE record