CVE-2026-34965: Cockpit CMS - Remote Code Execution
- Cve: CVE-2026-34965
- Name: Cockpit CMS - Remote Code Execution
- 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.
- Impact: Authenticated attackers with collection management privileges can execute arbitrary code on the server, leading to full server compromise.
- Remediation: Update to the latest version of Cockpit CMS.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker must be authenticated with collection management privileges
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00843
- Epss percentile: 0.58867
- Assignee: [email protected]
- Published at: 2026-04-29T20:16:29Z
- Age in days: 209
- Modified at: 2026-10-26T20:10:00Z
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-34965
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-94 | Improper Control of Generation of Code |
References
Same in every row:
- Source: nvd
- Tags:
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| agentejo:cockpit | all versions | no | cna | /v1/products/agentejo/cockpit |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| agentejo/cockpit | commit | yes | /v1/repositories/agentejo/cockpit |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Exposed hosts: 13915
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports