{"id":"CVE-2022-2818","aliases":["GHSA-8wj3-cpmr-8whp"],"url":"https://o3.security/vulnerability/CVE-2022-2818","summary":"Improper Removal of Sensitive Information Before Storage or Transfer in cockpit-hq/cockpit","details":"Cockpit Content Platform through version 2.2.1 is vulnerable to a two-factor authentication (2FA) bypass. The 2FA secret is disclosed in a JWT token after user logs into their account, allowing an attacker to bypass the 2FA code. A patch is available on the `develop` branch and is expected to be part of version 2.2.2.","published":"2022-08-15T09:50:24Z","modified":"2026-10-28T02:30:37.521777396Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":{"score":0.01658,"percentile":0.75478,"asOf":"2026-09-17"},"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"Packagist","name":"cockpit-hq/cockpit","fixedVersion":"2.2.2"}],"fix":{"url":"https://github.com/cockpit-hq/cockpit/commit/4bee1b903ee20818f4a8ecb9d974b9536cc54cb4","label":"cockpit-hq/cockpit@4bee1b9"},"references":[{"type":"WEB","url":"https://huntr.dev/bounties/ee27e5df-516b-4cf4-9f28-346d907b5491"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2818.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2818"},{"type":"FIX","url":"https://github.com/cockpit-hq/cockpit/commit/4bee1b903ee20818f4a8ecb9d974b9536cc54cb4"},{"type":"PACKAGE","url":"https://github.com/cockpit-hq/cockpit"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T02:30:37.521777396Z"}}