Skip to main content

Cockpit CMS CVE-2026-34965

| EUVDEUVD-2026-26280 HIGH
Code Injection (CWE-94)
2026-04-29 VulnCheck
8.7
CVSS 4.0 · NVD
Share

Severity by source

NVD PRIMARY
8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
8.8 HIGH

Network-reachable admin endpoint with no user interaction; a low-privilege collection-management account is required (PR:L), and PHP code execution yields full C/I/A impact.

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

CVSS VectorNVD

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

5
Analysis Generated
Jul 24, 2026 - 01:27 vuln.today
PoC Detected
Apr 29, 2026 - 21:22 vuln.today
Public exploit code
CVSS changed
Apr 29, 2026 - 20:22 NVD
8.8 (HIGH) 8.7 (HIGH)
EUVD ID Assigned
Apr 29, 2026 - 20:00 euvd
EUVD-2026-26280
CVE Published
Apr 29, 2026 - 19:50 nvd
HIGH 8.7

DescriptionCVE.org

Cockpit CMS contains an authenticated remote code execution vulnerability in the /cockpit/collections/save_collection endpoint that allows authenticated attackers with collection management privileges to inject arbitrary PHP code into collection rules parameters. Attackers can inject malicious PHP code through rule parameters which is written directly to server-side PHP files and executed via include() to achieve arbitrary command execution on the underlying server.

AnalysisAI

Authenticated remote code execution in Cockpit CMS lets attackers holding collection-management privileges inject arbitrary PHP through the /cockpit/collections/save_collection endpoint's rule parameters, which are persisted to server-side PHP files and executed via include(). A low-privileged authenticated user can therefore run arbitrary OS commands on the host. Publicly available exploit code exists (VulnCheck advisory and a public gist), though this is not listed in CISA KEV; EPSS is modest at 0.39% (60th percentile).

Technical ContextAI

Cockpit CMS (agentejo/cockpit) is a PHP-based headless/API-driven content management system that stores collection definitions - including field validation and access 'rules' - as executable PHP. The flaw is a CWE-94 Code Injection: user-supplied rule parameters submitted to save_collection are written verbatim into a server-side PHP file and later loaded with include(), so any PHP syntax in those rules becomes live code at evaluation time. Because rules are meant to be small logic snippets stored as code rather than data, the input is never neutralized before it reaches the PHP interpreter, turning a data-management feature into an arbitrary code execution primitive.

RemediationAI

Upstream fix available (PR/commit); a released, tagged patched version is not independently confirmed from the provided data - the fix is associated with commit 494765e4f0fb9484f320aee0c6ee889b6fa789b9 (https://github.com/agentejo/cockpit/commits/494765e4f0fb9484f320aee0c6ee889b6fa789b9), so update to a build at or after that commit and review the VulnCheck advisory (https://www.vulncheck.com/advisories/cockpit-cms-authenticated-remote-code-execution-via-collections). Until a patched build is deployed, restrict who holds collection-management privileges to a minimal set of fully trusted operators, since PR:L means the exploit requires that role; place the /cockpit admin interface (and specifically the collections/save_collection endpoint) behind a VPN, IP allowlist, or reverse-proxy authentication so it is not internet-reachable - trade-off is reduced remote administrative convenience. If feasible, run the PHP process as a low-privilege user with a read-only or non-executable data directory to blunt the include()-based execution, accepting that this may break features that legitimately regenerate collection PHP files. Monitor for unexpected new or modified PHP files in the collections storage path as a detection control.

More in PHP

View all
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

CVE-2024-46506 CRITICAL POC
10.0 May 13

NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro

Share

CVE-2026-34965 vulnerability details – vuln.today

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