Home

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.

PUBLISHED Reserved 2026-03-31 | Published 2026-04-29 | Updated 2026-05-01 | Assigner VulnCheck




HIGH: 8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

HIGH: 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Problem types

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

Product status

Default status
unknown

Any version
affected

Credits

Piyush Kumar Shukla finder

References

github.com/agentejo/cockpit product

gist.github.com/...arshukla/64d2318518b17f529bc3ccb11fd5be90 exploit technical-description

github.com/...mmits/494765e4f0fb9484f320aee0c6ee889b6fa789b9 third-party-advisory

www.vulncheck.com/...d-remote-code-execution-via-collections third-party-advisory

cve.org (CVE-2026-34965)

nvd.nist.gov (CVE-2026-34965)

Download JSON