# CVE-2026-6626: Cockpit has NoSQL Injection Through Content Aggregation Pipelines

Source: https://junglewise.ai/threats/cve-2026-6626-cockpit-has-nosql-injection-through-content-aggregation-pipelines  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-20. Updated: 2026-05-11  
License: CC BY 4.0 with a link back

CVE-2026-6626 · Severity: medium · CVSS 6.3 · Published 2026-04-20

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.

Technologies: [cockpit-hq/cockpit (Packagist)](https://junglewise.ai/threats/technologies/cockpit-hq-cockpit). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2026-6626 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-6626 being exploited in the wild.

**How severe is CVE-2026-6626?** Medium severity, with a CVSS score of 6.3, published 20 April 2026.

**Which products and versions are affected?** cockpit-hq/cockpit (Packagist) < 2.14.0, ECOSYSTEM:introduced=0,fixed=2.14.0.

**Is there a fix for CVE-2026-6626?** Yes. cockpit-hq/cockpit (Packagist): upgrade to 2.14.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2026-6626?** Check whether you run cockpit-hq/cockpit (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- cockpit-hq/cockpit (Packagist): upgrade to 2.14.0 or later

  ```sh
  composer require cockpit-hq/cockpit:^2.14.0
  ```


## Affected products

- cockpit-hq/cockpit (Packagist) < 2.14.0, ECOSYSTEM:introduced=0,fixed=2.14.0

## Identifiers

- CVE-2026-6626
- GHSA-5pv2-86qj-5jf9

## References

- [https://github.com/NicolasPauferro/studiesofnosqli](https://github.com/NicolasPauferro/studiesofnosqli)
- [https://vuldb.com/submit/792601](https://vuldb.com/submit/792601)
- [https://vuldb.com/vuln/358261](https://vuldb.com/vuln/358261)
- [https://vuldb.com/vuln/358261/cti](https://vuldb.com/vuln/358261/cti)

## Related threats

- [Cockpit CMS stored XSS in Set field type Display template](https://junglewise.ai/threats/cve-2026-23695-cockpit-cms-stored-xss-in-set-field-type-display-template)
- [Cockpit Vulnerable to Unrestricted Upload of File with Dangerous Type](https://junglewise.ai/threats/cve-2026-38991-cockpit-vulnerable-to-unrestricted-upload-of-file-with-dangerous)
- [Cockpit CMS directory traversal in Buckets component](https://junglewise.ai/threats/cve-2026-38993-cockpit-cms-directory-traversal-in-buckets-component)
- [Cockpit is vulnerable to arbitrary code execution](https://junglewise.ai/threats/cve-2026-38992-cockpit-is-vulnerable-to-arbitrary-code-execution)
- [Cockpit CMS has SQL Injection in MongoLite Aggregation Optimizer via toJsonExtractRaw()](https://junglewise.ai/threats/cve-2026-31891-cockpit-cms-has-sql-injection-in-mongolite-aggregation-optimizer)
