# CVE-2022-2818: Improper Removal of Sensitive Information Before Storage or Transfer in cockpit-hq/cockpit

- Severity: Critical 9.8 (CVSS:3.1, scored by @huntrdev) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.67%, higher than 77% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-08-15T09:50:24.000Z
- Modified: 2026-06-17T04:42:38.413Z
- Also known as: GHSA-8wj3-cpmr-8whp
- Weaknesses: CWE-212, CWE-287, CWE-305
- Assigned by: @huntrdev

## Description

Improper Removal of Sensitive Information Before Storage or Transfer in GitHub repository cockpit-hq/cockpit prior to 2.2.2.

(As written by CVE List.)

## Affected

- cockpit-hq cockpit-hq/cockpit: from unspecified before 2.2.2
- cockpit-hq/cockpit (Packagist): before 2.2.2
- agentejo cockpit: before 2.2.2

## Every score

- @huntrdev: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://huntr.dev/bounties/ee27e5df-516b-4cf4-9f28-346d907b5491> (exploit, patch, third-party-advisory, web)
- <https://github.com/cockpit-hq/cockpit/commit/4bee1b903ee20818f4a8ecb9d974b9536cc54cb4> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-2818> (advisory)
- <https://github.com/cockpit-hq/cockpit> (package)

## Sources

- CVE List: [CVE-2022-2818](https://www.cve.org/CVERecord?id=CVE-2022-2818), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-8wj3-cpmr-8whp](https://github.com/advisories/GHSA-8wj3-cpmr-8whp), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2022-2818](https://nvd.nist.gov/vuln/detail/CVE-2022-2818), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-2818 · Whole record: https://cve.day/CVE-2022-2818.json · Rebuilt by cve.day 2026-11-25T22:58:14.190Z
