CVE-2023-41564
Description
An arbitrary file upload vulnerability in the Upload Asset function of Cockpit CMS v2.6.3 allows attackers to execute arbitrary code via uploading a crafted .shtml file.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Cockpit CMS v2.6.3 allows authenticated arbitrary code execution via uploading a crafted .shtml file in the Upload Asset function.
Vulnerability
Overview
CVE-2023-41564 is an arbitrary file upload vulnerability in the Upload Asset function of Cockpit CMS v2.6.3 [1]. The root cause is insufficient validation of uploaded file types, allowing attackers to upload files with the .shtml extension. Server-side includes (SSI) in .shtml files can be processed by the web server, leading to arbitrary code execution [2].
Exploitation
An attacker must first authenticate to Cockpit CMS with an account that has permission to upload assets [3]. The exploit involves crafting a malicious .shtml file containing server-side include directives or embedded code. After uploading, the attacker accesses the file via its asset link, triggering execution of the embedded code on the server [3].
Impact
Successful exploitation allows the attacker to execute arbitrary commands on the underlying server, potentially leading to full compromise of the Cockpit CMS instance and its data. This includes reading sensitive files, modifying content, or using the server as a pivot for further attacks [2].
Mitigation
As of the publication date, no official patch has been announced for Cockpit CMS v2.6.3. Users are advised to restrict upload permissions to trusted users only, disable SSI processing for uploaded files, or upgrade to a patched version if available [1][2].
AI Insight generated on May 20, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
cockpit-hq/cockpitPackagist | <= 2.6.3 | — |
Affected products
2- Cockpit CMS/Cockpit CMSdescription
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
3News mentions
0No linked articles in our index yet.