Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with any valid CMS account
-
DeliveryPOST PHP webshell to asset upload endpoint
-
ExploitServer stores file in web-accessible directory
-
ExecutionRequest uploaded PHP file via public URL
-
ImpactExecute arbitrary OS commands as web server user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK
2 techniques across 2 tactics: Command and Control, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a valid authenticated Cockpit CMS account at any privilege level - contributor, editor, or administrator. The critical enabling condition is that the allowed_uploads configuration must retain its default wildcard (*) value; any instance where an administrator has explicitly restricted this setting to a safe extension allowlist is not exploitable via this path. The upload storage directory must be web-accessible and served by a PHP-capable web server (Apache, nginx with PHP-FPM, etc.) rather than a static-only file server, which is the default Cockpit deployment model. Limiting factors: anonymous exploitation is not possible (PR:L authentication required); instances hardened with a restrictive allowed_uploads list are protected; and instances where a reverse proxy or web server configuration denies PHP execution in the upload directory would prevent code execution even if the upload succeeds. |
| Impact | The CVSS 8.8 base score with vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H accurately reflects the real-world risk: the attack is network-reachable, requires no special conditions, and yields full RCE impact on the server. The sole limiting factor is the PR:L requirement - a valid authenticated account. In CMS deployments with open self-registration, shared credentials, or a large contributor base, this barrier is effectively negligible. No EPSS score was provided in the intelligence, so exploitation probability cannot be quantified; however, the attack complexity is genuinely low and the technique (PHP webshell upload) is well-documented and trivially reproducible. The vulnerability is not listed in CISA KEV and no confirmed POC is reported, suggesting targeted rather than widespread exploitation risk at time of analysis. S:U (no scope change) is appropriate since impact remains on the vulnerable CMS server, though post-exploitation pivoting to adjacent systems is realistic. Overall, this is a high-priority real risk for any internet-exposed instance - not a high-CVSS-but-low-real-risk issue. |
| Exploit ScenarioDerived | An attacker with a low-privilege Cockpit CMS account sends a multipart HTTP POST request to the asset upload endpoint with a payload containing a PHP webshell (e.g., <?php system($_GET['cmd']); ?>) saved with a .php extension. Because allowed_uploads defaults to wildcard, the server accepts and stores the file in the public assets directory without restriction. The attacker then issues a GET request to the file's public URL with a command parameter, triggering PHP execution on the server and receiving OS command output with web server process privileges. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 11, 2026
Unrestricted file upload in Cockpit CMS versions up to and including 2.6.0 allows any authenticated user to upload PHP scripts via the asset upload endpoint, achieving remote code execution as the web server process. The root cause is the default wildcard (*) value for the allowed_uploads configuration combined with storage of uploaded files in a web-accessible directory - a textbook CWE-434 condition. No public exploit has been identified at time of analysis and the vulnerability is not listed in CISA KEV, but the low barrier of entry (any authenticated account) makes this a high-priority remediation target for internet-facing deployments.
RemediationAI
No vendor-released patched version has been independently confirmed at time of analysis; administrators should monitor the upstream repository at https://github.com/Cockpit-HQ/Cockpit for a tagged release or security advisory addressing this issue. As an immediate compensating control, administrators should explicitly set the allowed_uploads configuration to a restrictive allowlist of safe, non-executable extensions such as jpg, png, gif, pdf, and docx - this directly neutralizes the default wildcard that enables the vulnerability, though it will prevent upload of any file type not on the allowlist. In addition, the web server should be configured to deny PHP script execution within the upload storage directory (e.g., an nginx location block with deny all for .php, or an Apache .htaccess file setting php_flag engine off); note this may break functionality if any legitimate server-side processing of uploaded assets is expected. Restricting the asset upload feature to administrator-level accounts only reduces the exposed attack surface but does not eliminate the underlying flaw if the configuration remains permissive.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Cockpit CMS is an open-source, PHP-based headless content management system used primarily for decoupled web architectures. The vulnerability is classified as CWE-434 (Unrestricted Upload of File with Dangerous Type): the asset upload endpoint performs no server-side validation of uploaded file extensions because the allowed_uploads configuration defaults to a wildcard (*), accepting all file types including executable PHP scripts. Critically, uploaded assets are stored in a web-accessible directory and served directly by the PHP-capable web server, meaning a PHP file uploaded as an asset can be triggered via a standard HTTP GET request and executed by the PHP runtime. The CPE string cpe:2.3:a:cockpit_cms:cockpit_cms:*:*:*:*:*:*:*:* encompasses all versions through 2.6.0. This is a well-understood vulnerability class with a deterministic exploitation path once file upload succeeds.
Know when Cockpit Cms gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Network-exploitable HTTP endpoint requiring only low-privilege authentication; PHP webshell execution yields complete confidentiality, integrity, and availability impact on the server.
Primary rating from Vendor (TuranSec).
CVSS VectorVendor: TuranSec
DescriptionCVE.org
An unrestricted file upload vulnerability in Cockpit CMS 2.6.0 allows authenticated users to upload files of any extension including PHP scripts via the asset upload endpoint. The allowed_uploads configuration defaults to wildcard (*) and uploaded files are stored in a web-accessible directory. An attacker with any authenticated account can upload a PHP webshell and execute arbitrary OS commands on the server.
Articles & Coverage 1
Executive ViewAI
Cockpit CMS versions through 2.6.0 contain a critical remote code execution vulnerability (CVE-2026-72557, CVSS 8.8) that allows any authenticated user to upload and execute malicious PHP files as the web server process. Organizations operating internet-facing Cockpit CMS deployments face immediate risk of application compromise if administrative credentials are exposed or user access permissions are overly permissive. No vendor patch is currently available, requiring urgent operational mitigations to contain risk.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) restrict allowed_uploads configuration to specific non-executable file types only, removing the default wildcard; (2) move uploads directory outside web-accessible paths or block direct HTTP access via .htaccess or web server configuration to prevent script execution; (3) enforce role-based access controls limiting upload permissions to essential administrative users only; (4) implement IP-based access restrictions on all CMS administrative endpoints; (5) enable comprehensive logging and monitoring of all file upload activities; (6) deploy file integrity monitoring on upload directories; (7) temporarily disable upload functionality for non-administrative users if feasible.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
More in Cockpit Cms
View allAuthenticated remote code execution in Cockpit CMS lets attackers holding collection-management privileges inject arbitr
Unauthenticated remote file and directory exposure in agentejo Cockpit CMS 0.12.2 and earlier allows attackers to access
Path-traversal privilege escalation in Cockpit CMS Bucket file storage API (before 2.14.0) lets an authenticated low-pri
Broken access control in Cockpit CMS's Bucket file storage API (/system/buckets/api) lets any authenticated user, regard
EUVD-2026-56027
GHSA-8gxj-mv75-3mrm
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB