CVE-2026-6626 Details
Description
A vulnerability was detected in Cockpit-HQ Cockpit up to 2.13.5. Affected by this issue is some unknown functionality of the component Asset Handler/Aggregate Handler. The manipulation results in improper neutralization of special elements in data query logic. It is possible to launch the attack remotely. The exploit is now public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
A critical NoSQL injection vulnerability has been identified in Cockpit-HQ Cockpit CMS versions through 2.13.5. This vulnerability arises from improper sanitization of user-controlled JSON objects in data query logic, allowing authenticated attackers to exploit MongoDB operators for data exfiltration. The issue is present in the Asset Handler and Aggregate Handler components, specifically within the 'POST /assets/assets' and '/api/content/aggregate/{model}' endpoints. Exploitation can lead to unauthorized access to sensitive data, including administrative credentials and personal information.
It is recommended to implement a recursive sanitizer that removes all keys starting with '$' from user-provided objects before they are sent to the database. Additionally, the aggregation API should be restricted to allow only certain stages, blocking operators like '$lookup' and '$unionWith' for non-superadmin users.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 20, 2026CISA-ADP
Assessed Apr 20, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/NicolasPauferro/studiesofnosqli | [email protected] | ExploitRemedyTechnical Analysis |
| https://vuldb.com/submit/792601 | [email protected] | Technical Description |
| https://vuldb.com/vuln/358261 | [email protected] | AdvisoryExploitPartial Content |
| https://vuldb.com/vuln/358261/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-20 | Improper Input Validation | [email protected] |
| CWE-943 | Improper Neutralization of Special Elements in Data Query Logic | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Cockpit-HQ Cockpit | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Apr 20, 2026 | New CVE Received | [email protected] |
Volerion