CVE-2026-38992

Cockpit CMS Arbitrary Code Execution via MongoLite $func Operator

Published Apr 29, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-fm6c-rhcf-7439 Cockpit is vulnerable to arbitrary code execution
History
Type Values Removed Values Added
Title Cockpit CMS Arbitrary Code Execution via MongoLite $func Operator
Type Values Removed Values Added
Title Arbitrary Code Execution in Cockpit CMS via Filter Parameter
Weaknesses CWE-78
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Arbitrary Code Execution in Cockpit CMS via Filter Parameter
Weaknesses CWE-78
CWE-94
Type Values Removed Values Added
First Time appeared Cockpit-hq
Cockpit-hq cockpit
Vendors & Products Cockpit-hq
Cockpit-hq cockpit
Type Values Removed Values Added
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.
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Apr 30, 2026, 3:22 PM
Reserved
Apr 6, 2026, 12:00 AM
Status
Deferred
Published
Apr 29, 2026, 3:16 PM
Modified
Jun 17, 2026, 10:41 AM