SecurityContext

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

IdName
CWE-94Improper Control of Generation of Code

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://gist.github.com/thepiyushkumarshukla/64d2318518b17f529bc3ccb11fd5be90
https://github.com/agentejo/cockpit
https://github.com/agentejo/cockpit/commits/494765e4f0fb9484f320aee0c6ee889b6fa789b9
https://www.vulncheck.com/advisories/cockpit-cms-authenticated-remote-code-execution-via-collections

Products

ProductAffectedPlatform boundSourcesUrl
agentejo:cockpitall versionsnocna/v1/products/agentejo/cockpit

Projects

RepositoryLink kindsIndexedUrl
agentejo/cockpitcommityes/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