CVE-2026-38992
Arbitrary Code Execution in Cockpit CMS via Filter Parameter
Publication date: 2026-04-29
Last updated on: 2026-04-30
Assigner: MITRE
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| cockpit | cockpit | to 2.14.0 (exc) |
| cockpit | cockpit | 2.14.0 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-94 | The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. |
Attack-Flow Graph
AI Powered Q&A
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
The provided information does not specify how CVE-2026-38992 affects compliance with common standards and regulations such as GDPR or HIPAA.
Can you explain this vulnerability to me?
Cockpit versions 2.13.5 and earlier have a vulnerability that allows arbitrary code execution. This happens through the filter parameter in multiple endpoints, where an attacker can exploit the MongoLite $func operator to run system commands on the underlying infrastructure.
How can this vulnerability impact me? :
This vulnerability can allow an attacker to execute arbitrary system commands on the affected system. This could lead to unauthorized access, data theft, system compromise, or disruption of services.
Can you explain this vulnerability to me?
Cockpit version 2.13.5 and earlier contains a vulnerability that allows arbitrary code execution. This happens through the filter parameter in multiple endpoints, where an attacker can exploit the MongoLite $func operator to run system commands on the underlying infrastructure.
How can this vulnerability impact me? :
This vulnerability can allow an attacker to execute arbitrary system commands on the server hosting Cockpit. This means the attacker could potentially take control of the server, access sensitive data, modify or delete files, disrupt services, or use the server as a foothold to attack other systems.
What immediate steps should I take to mitigate this vulnerability?
To mitigate the arbitrary code execution vulnerability in Cockpit v2.13.5 and earlier, you should upgrade to Cockpit version 2.14.0 or later, where the issue has been addressed.
- Apply the official update to Cockpit 2.14.0 which includes multiple security improvements and fixes.
- Ensure proper access controls and input validation are enforced, especially around the filter parameter and MongoLite $func operator usage.
- Review and harden session cookie handling and ACL permissions as per the 2.14.0 release notes.