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
Cockpit CMS contains an authenticated remote code execution vulnerability (CWE-94) in the /cockpit/collections/save_collection endpoint. Authenticated users with collection management privileges can inject arbitrary PHP code through collection rule parameters. The injected code is saved directly to server-side PHP files and executed via include(), resulting in arbitrary command execution on the underlying server. The CVSS 3.1 base score is 8.8, reflecting high impact on confidentiality, integrity, and availability. No patch or official remediation level has been published by the vendor as of the vulnerability disclosure date.
Potential Impact
Successful exploitation allows an authenticated user with collection management privileges to execute arbitrary PHP code on the server hosting Cockpit CMS. This can lead to full compromise of the server, including unauthorized access, data theft, and disruption of service. The vulnerability impacts confidentiality, integrity, and availability with a high severity rating (CVSS 8.8). No known public exploits have been reported yet.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict collection management privileges to trusted users only and monitor for suspicious activity related to collection rule modifications. Avoid exposing the management interface to untrusted networks. Follow vendor updates closely for any forthcoming patches or mitigations.
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
Cockpit CMS contains an authenticated remote code execution vulnerability (CWE-94) in the /cockpit/collections/save_collection endpoint. Authenticated users with collection management privileges can inject arbitrary PHP code through collection rule parameters. The injected code is saved directly to server-side PHP files and executed via include(), resulting in arbitrary command execution on the underlying server. The CVSS 3.1 base score is 8.8, reflecting high impact on confidentiality, integrity, and availability. No patch or official remediation level has been published by the vendor as of the vulnerability disclosure date.
Potential Impact
Successful exploitation allows an authenticated user with collection management privileges to execute arbitrary PHP code on the server hosting Cockpit CMS. This can lead to full compromise of the server, including unauthorized access, data theft, and disruption of service. The vulnerability impacts confidentiality, integrity, and availability with a high severity rating (CVSS 8.8). No known public exploits have been reported yet.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict collection management privileges to trusted users only and monitor for suspicious activity related to collection rule modifications. Avoid exposing the management interface to untrusted networks. Follow vendor updates closely for any forthcoming patches or mitigations.
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: 4/29/2026, 8:06:24 PM
Last enriched: 5/7/2026, 2:07:55 AM
Last updated: 6/13/2026, 6:07:08 PM
Views: 65
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.