8.7high
Cockpit CMS Authenticated Remote Code Execution via Collections
- Severity
- 8.7high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 1.32% (higher than 71% of CVEs)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Cockpit Cockpit CMS | up to 494765e | CVE List |
All scores
| VulnCheck | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| VulnCheck | 8.7high CVSS:4.0 | 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 |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
Cockpit CMS contiene una vulnerabilidad de ejecución remota de código autenticada en el endpoint /cockpit/collections/save_collection que permite a atacantes autenticados con privilegios de gestión de colecciones inyectar código PHP arbitrario en los parámetros de las reglas de colección. Los atacantes pueden inyectar código PHP malicioso a través de los parámetros de las reglas que se escribe directamente en archivos PHP del lado del servidor y se ejecuta a través de include() para lograr la ejecución de comandos arbitrarios en el servidor subyacente.
References
| https://github.com/agentejo/cockpit | product | |
| https://gist.github.com/thepiyushkumarshukla/64d2318518b17f529bc3ccb11fd5be90 | exploit, technical-description | |
| https://github.com/agentejo/cockpit/commits/494765e4f0fb9484f320aee0c6ee889b6fa789b9 | third-party-advisory | |
| https://www.vulncheck.com/advisories/cockpit-cms-authenticated-remote-code-execution-via-collections | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-34965 changed 2026-07-14 | CVE Terms of Use |
| NVD | CVE-2026-34965 changed 2026-10-26 | Public domain |