Skip to content
Fencer Vulns
high 7.7

CVE-2022-21647 in the critical feed json

Deserialization of Untrusted Data in Codeigniter4

published 2022-01-04 4 y ago modified 2026-06-17 4 mo ago also BIT-codeigniter-2022-21647 , EUVD-2022-0719 , GHSA-w6jr-wj64-mc9x

cvss
7.7
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
37.7%
EPSS 37.7% chance of exploitation in 30 days, percentile 98%
public exploits
0
none known

Summary

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()`.

Patch / fix

  • packagist codeigniter4/framework 4.1.6
  • bitnami codeigniter 4.1.6
  • codeigniter codeigniter 4.1.6

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
18 mo ago

Exploit prediction

37.67% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 7.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H
GitHub 3.1 7.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P
OSV 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
packagist codeigniter4/framework
<4.1.6
4.1.6
bitnami codeigniter
>=4.0.0, <4.1.6
4.1.6

Affected products

  • codeigniter4 CodeIgniter4

Classification

Weakness
  • CWE-502 Deserialization of Untrusted Data

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.