{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-21647","published":"2022-01-04T20:15:07.930000Z","last_modified":"2026-06-17T04:26:40.723000Z","status":"Modified","cvss":{"version":"3.1","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","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-502"],"cpes":[{"criteria":"cpe:2.3:a:codeigniter:codeigniter:*:*:*:*:*:*:*:*","part":"a","vendor":"codeigniter","product":"codeigniter","version_start_including":"4.0.0","version_end_excluding":"4.1.6"}],"cpes_truncated":false,"vendors":["codeigniter"],"products":["codeigniter/codeigniter"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.01244,"percentile":0.69249,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-w6jr-wj64-mc9x","ecosystem":"Packagist","name":"codeigniter4/framework","purl":"pkg:composer/codeigniter4/framework","ranges":[{"introduced":"0","fixed":"4.1.6"}],"versions":["4.0.0","4.0.0-rc.4","v4.0.0-alpha.3","v4.0.0-alpha.4","v4.0.0-alpha.5","v4.0.0-beta.1","v4.0.0-beta.2","v4.0.0-beta.3","v4.0.0-beta.4","v4.0.0-rc.1","v4.0.0-rc.2","v4.0.0-rc.2.1","v4.0.0-rc.3","v4.0.1","v4.0.2","v4.0.3","v4.0.4","v4.0.5","v4.1.0","v4.1.1","v4.1.2","v4.1.3","v4.1.4","v4.1.5"],"versions_truncated":false}],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2022-21647/","html_en":"/en/cve/CVE-2022-21647/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-21647","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-21647"},"untrusted":{"vendor_name":"Codeigniter","product_name":"Codeigniter","desc_en":"CodeIgniter is an open source PHP full-stack web framework. Deserialization of Untrusted Data was found in the `old()` function in CodeIgniter4. Remote attackers may inject auto-loadable arbitrary objects with this vulnerability, and possibly execute existing PHP code on the server. We are aware of a working exploit, which can lead to SQL injection. Users are advised to upgrade to v4.1.6 or later. Users unable to upgrade as advised to not use the `old()` function and form_helper nor `RedirectResponse::withInput()` and `redirect()->withInput()`.","affected":[{"untrusted_vendor":"codeigniter4","untrusted_product":"CodeIgniter4","versions":[]}],"references":[{"url":"https://github.com/codeigniter4/CodeIgniter4/commit/ce95ed5765256e2f09f3513e7d42790e0d6948f5","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-w6jr-wj64-mc9x","tags":["Mitigation","Third Party Advisory"]}]}}