Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain low-privilege credentials
-
DeliveryAuthenticate to Cockpit CMS
-
ExploitUpload file with embedded PHP code
-
InstallCraft filename bypassing extension filter
-
C2Rename file to .php extension
-
ExecuteRequest malicious PHP file URL
-
ImpactExecute arbitrary code 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 | Requires valid authentication with low-privilege credentials to Cockpit CMS (PR:L in CVSS vector). Attacker must have permissions to access the Bucket component and perform file upload/rename operations-typically granted to content editors and administrators in default Cockpit installations. The vulnerability specifically affects instances where the Bucket component is enabled and exposed to authenticated users. Default Cockpit configurations allowing user registration or shared credentials among multiple editors increase exploitability. Network access to the CMS (AV:N) and no user interaction requirement (UI:N) mean once authenticated, exploitation is straightforward. Exploitation is LIMITED by: authentication barrier preventing anonymous exploitation, need for specific Cockpit component access, and potential ACL restrictions in hardened deployments. Organizations with Cockpit restricted to single trusted administrator face minimal practical risk. |
| Impact | Real-world risk is MODERATE-to-HIGH for installations with authenticated users. CVSS 8.8 (AV:N/AC:L/PR:L/UI:N) indicates network-exploitable with low complexity, but requires low-privileged authentication (PR:L)-limiting exposure compared to unauthenticated RCE. SSVC assessment confirms POC availability, non-automatable nature (requires authenticated session context), and total technical impact (arbitrary code execution). The authentication requirement significantly reduces attacker surface versus unauthenticated vulnerabilities, but insider threats, compromised accounts, or permissive user registration models elevate risk. No CISA KEV listing suggests exploitation has not reached widespread campaign levels, but POC existence per SSVC means exploit development barrier is low. Organizations should prioritize patching based on: (1) whether Cockpit instances allow user registration or have untrusted authenticated users, (2) sensitivity of server-side data/systems, (3) network segmentation limiting post-exploitation lateral movement. Defense-in-depth measures (Web Application Firewall, file upload restrictions, PHP disable_functions) provide partial mitigation but cannot substitute for patching given the fundamental validation flaw. |
| Exploit ScenarioDerived | An attacker with valid low-privilege Cockpit CMS credentials (obtained through credential stuffing, phishing, or insider access) uploads a benign file like image.jpg containing embedded PHP webshell code. They then use the Bucket component's rename functionality with a crafted filename exploiting the _isFileTypeAllowed filter weakness-potentially using double extensions (image.jpg.php), null byte injection (shell.php%00.jpg), or case manipulation (shell.PHP). The filter bypass allows renaming to shell.php. The attacker navigates to the uploaded file's URL, triggering PHP execution and gaining remote code execution with web server privileges. With POC publicly available per SSVC assessment, exploit development time is minimal for authenticated attackers. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
Remote code execution in Cockpit CMS 2.13.5 and earlier allows authenticated users with low privileges to execute arbitrary PHP code on the server. Attackers exploit a filter bypass in the Bucket component's _isFileTypeAllowed function by crafting filenames that evade extension validation, then renaming files to .php for execution. Public proof-of-concept exists (SSVC: poc). EPSS data unavailable, but CVSS 8.8 with network vector and low attack complexity indicates high exploitability once authenticated.
RemediationAI
Upgrade to Cockpit CMS version 2.14.0 or later immediately, available at https://github.com/Cockpit-HQ/Cockpit/releases/tag/2.14.0. The release notes confirm fixes for Bucket path traversal and enhanced SVG file handling addressing the upload validation issues. If immediate patching is not feasible, implement these compensating controls with noted limitations: (1) Restrict Bucket component access to only highly trusted administrators through ACL configuration-reduces attack surface but limits CMS functionality for content editors; (2) Configure PHP disable_functions directive to block system(), exec(), passthru(), shell_exec(), and other code execution functions-may break legitimate CMS features requiring system calls; (3) Deploy Web Application Firewall rules blocking .php in uploaded filenames and monitoring for file rename operations-sophisticated bypass techniques may evade signature-based detection; (4) Set web server to deny execution of PHP files in upload directories via .htaccess (Apache) or location blocks (Nginx)-effective but verify configuration inheritance in nested directories. All compensating controls provide partial defense-in-depth but cannot fully eliminate risk given the fundamental validation flaw. Vendor patch remains the definitive remediation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in composer
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Cockpit CMS is a PHP-based headless content management system. The vulnerability resides in the Bucket component's _isFileTypeAllowed function, which performs inadequate validation of file extensions during upload or rename operations. The flaw is classified as CWE-434 (Unrestricted Upload of File with Dangerous Type). The filter can be bypassed through specially crafted filenames-likely using null bytes, double extensions, case manipulation, or Unicode encoding tricks common to PHP file upload vulnerabilities. Once an attacker renames an uploaded file to have a .php extension, the web server's PHP interpreter executes the file content as code. Version 2.14.0 release notes explicitly mention 'Fix Bucket path traversal vulnerability' and 'Enhance SVG file handling during uploads', indicating vendor awareness of file handling issues in the Bucket component.
Know when PHP 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
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
Cockpit 2.13.5 and earlier is affected by a misconfiguration within the Bucket component _isFileTypeAllowed function where a specially crafted filename bypasses an extension filter. This allows an authenticated attacker to rename arbitrary files with the .php file extension enabling arbitrary code to be executed on the underlying server.
Executive ViewAI
Cockpit CMS versions 2.13.5 and earlier contain a critical remote code execution vulnerability that allows authenticated low-privilege users to upload and execute arbitrary PHP code by bypassing file type validation. Organizations using affected Cockpit CMS instances face direct risk of server compromise and data breach, as attackers with basic user accounts can achieve full code execution without additional privileges.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable PHP execution in web root upload directories via server configuration (e.g., .htaccess: php_flag engine off or nginx location blocks); (2) Restrict file upload functionality to administrative users only; (3) Implement strict filename validation rejecting double extensions and executable extensions; (4) Enable file integrity monitoring and upload logging; (5) Run PHP with open_basedir restrictions; (6) Consider removing or isolating affected Cockpit CMS instances until patched.
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.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
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
EUVD-2026-26242
GHSA-j2rx-4jg9-79mw
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB