Severity by source
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
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.
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
Lifecycle Timeline
5DescriptionCVE.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.
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
NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro
Same weakness CWE-94 – Code Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-26280