CVE-2026-34965 PUBLISHED

Cockpit CMS Authenticated Remote Code Execution via Collections

Assigner: VulnCheck
Reserved: 31.03.2026 Published: 29.04.2026 Updated: 29.04.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 8.7

Product Status

Vendor Cockpit
Product Cockpit CMS
Versions Default: unknown
  • affected from 0 to 494765e (incl.)

Credits

  • Piyush Kumar Shukla finder

References

Problem Types

  • CWE-94: Improper Control of Generation of Code ('Code Injection') CWE