# CVE-2022-2818: Cockpit Content Platform vulnerable to 2FA bypass

Source: https://junglewise.ai/threats/cve-2022-2818-cockpit-content-platform-vulnerable-to-2fa-bypass  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-08-16  
License: CC BY 4.0 with a link back

CVE-2022-2818 · Severity: low · CVSS 3.1 · Published 2022-08-16

Cockpit Content Platform vulnerable to 2FA bypass

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-2022-2818 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-2818 being exploited in the wild.

**How severe is CVE-2022-2818?** Low severity, with a CVSS score of 3.1, published 16 August 2022.

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

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

**Am I affected by CVE-2022-2818?** 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.2.2 or later

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


## Affected products

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

## Identifiers

- CVE-2022-2818
- GHSA-8wj3-cpmr-8whp

## 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 has NoSQL Injection Through Content Aggregation Pipelines](https://junglewise.ai/threats/cve-2026-6626-cockpit-has-nosql-injection-through-content-aggregation-pipelines)
