Skip to main content

Cockpit CMS CVE-2026-72557

| EUVDEUVD-2026-56027 HIGH
Unrestricted Upload of File with Dangerous Type (CWE-434)
2026-08-11 TuranSec GHSA-8gxj-mv75-3mrm
8.8
CVSS 3.1 · Vendor: TuranSec
View

Attack ChainAIDerived

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

  1. Access
    Authenticate with any valid CMS account
  2. Delivery
    POST PHP webshell to asset upload endpoint
  3. Exploit
    Server stores file in web-accessible directory
  4. Execution
    Request uploaded PHP file via public URL
  5. Impact
    Execute 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

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

Cockpit CMS 0 ≤2.6.0

Affected Packages

euvd cockpit_cms no fix

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

Vendor (TuranSec) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

Network-exploitable HTTP endpoint requiring only low-privilege authentication; PHP webshell execution yields complete confidentiality, integrity, and availability impact on the server.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (TuranSec).

CVSS VectorVendor: TuranSec

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

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.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.3%
Top 74% exploitable
Prevalence
Low
niche PHP headless CMS, limited enterprise adoption
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment 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.3%
Patch available No
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
None
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.

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