Skip to main content

Cockpit CMS EUVDEUVD-2026-26242

| CVE-2026-38991 HIGH
Unrestricted Upload of File with Dangerous Type (CWE-434)
2026-04-29 mitre GHSA-j2rx-4jg9-79mw
8.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain low-privilege credentials
  2. Delivery
    Authenticate to Cockpit CMS
  3. Exploit
    Upload file with embedded PHP code
  4. Install
    Craft filename bypassing extension filter
  5. C2
    Rename file to .php extension
  6. Execute
    Request malicious PHP file URL
  7. Impact
    Execute 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

n/a n/a

Affected Packages

composer cockpit-hq/cockpit fix: 2.14.0

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

NVD PRIMARY 8.8 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
CVSS changed
Apr 29, 2026 - 21:22 NVD
8.8 (None) 8.8 (HIGH)
CVE Published
Apr 29, 2026 - 00:00 nvd
HIGH 8.8

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 92% exploitable
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

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

CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

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

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

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

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy