CVE-2026-34965: CWE-94: Improper Control of Generation of Code ('Code Injection') in Cockpit Cockpit CMS
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.
AI Analysis
Technical Summary
CVE-2026-34965 is an authenticated remote code execution vulnerability in Cockpit CMS affecting the /cockpit/collections/save_collection endpoint. Attackers with collection management privileges can inject arbitrary PHP code into collection rule parameters. This code is then written directly to PHP files on the server and executed through include(), enabling arbitrary command execution on the underlying server. The vulnerability is classified under CWE-94 (Improper Control of Generation of Code). No vendor advisory or patch information is currently available.
Potential Impact
Successful exploitation allows authenticated users with collection management privileges to execute arbitrary PHP code on the server, leading to full compromise of the affected system. This includes potential unauthorized access, data theft, service disruption, and further lateral movement within the environment.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict collection management privileges to trusted users only and monitor for suspicious activity related to collection rule modifications.
CVE-2026-34965: CWE-94: Improper Control of Generation of Code ('Code Injection') in Cockpit Cockpit CMS
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.
CVSS v3.1
Score 8.8high
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-34965 is an authenticated remote code execution vulnerability in Cockpit CMS affecting the /cockpit/collections/save_collection endpoint. Attackers with collection management privileges can inject arbitrary PHP code into collection rule parameters. This code is then written directly to PHP files on the server and executed through include(), enabling arbitrary command execution on the underlying server. The vulnerability is classified under CWE-94 (Improper Control of Generation of Code). No vendor advisory or patch information is currently available.
Potential Impact
Successful exploitation allows authenticated users with collection management privileges to execute arbitrary PHP code on the server, leading to full compromise of the affected system. This includes potential unauthorized access, data theft, service disruption, and further lateral movement within the environment.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict collection management privileges to trusted users only and monitor for suspicious activity related to collection rule modifications.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-03-31T17:58:43.754Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69f264c0cbff5d861045c09a
Added to database: 04/29/2026, 20:06:24 UTC
Last enriched: 07/15/2026, 10:56:52 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 109
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.