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
Lifecycle Timeline
2DescriptionCVE.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
AnalysisAI
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.
Technical ContextAI
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.
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.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
Same technique File Upload
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-56027
GHSA-8gxj-mv75-3mrm