Vulnerability · Published Apr 29, 2026 · Assigned by VulnCheck
CVE-2026-34965Cockpit CMS Authenticated Remote Code Execution via Collections
High 8.8
In plain English
A high-severity code injection in Cockpit CMS from Cockpit. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 58% of all known vulnerabilities).
Official 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 products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Cockpit | Cockpit CMS | 0 – through 494765e |
Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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