CVE-2026-38992
Received Received - Intake
Arbitrary Code Execution in Cockpit CMS via Filter Parameter

Publication date: 2026-04-29

Last updated on: 2026-04-30

Assigner: MITRE

Description
Cockpit v2.13.5 and earlier is vulnerable to arbitrary code execution via the filter parameter within multiple endpoints. This vulnerability allows an attacker to run system commands on the underlying infrastructure via the MongoLite $func operator.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-04-29
Last Modified
2026-04-30
Generated
2026-05-07
AI Q&A
2026-04-30
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
cockpit cockpit to 2.14.0 (exc)
cockpit cockpit 2.14.0
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
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.

Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart