CVEBrief

Home / codeigniter4 / CodeIgniter4 / CVE-2022-21647

CVE-2022-21647: is it exploited, and which versions of CodeIgniter4 are affected and fixed?

CVE-2022-21647 is a deserialization of untrusted data vulnerability in CodeIgniter4. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: codeigniter4/framework before 4.1.6 (GitHub advisory GHSA-w6jr-wj64-mc9x). Fixed in 4.1.6 (GitHub advisory GHSA-w6jr-wj64-mc9x). Severity: High (7.7, CVSS 3.1, from GitHub_M).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:52 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 12:38 UTC
Affected
codeigniter4/framework before 4.1.6
GitHub advisory GHSA-w6jr-wj64-mc9x
Fixed in
4.1.6
GitHub advisory GHSA-w6jr-wj64-mc9x
Severity
High 7.7
CVSS 3.1 from GitHub_M
Exploit odds (EPSS)
37.7% in 30 days
higher than 99% of CVEs; FIRST, December 2, 2026

What is CVE-2022-21647?

Deserialization of Untrusted Data in Codeigniter4

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

From the CVE record by GitHub_M, last updated April 23, 2025, 19:14 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
codeigniter4CodeIgniter4< 4.1.6

As the CVE record by GitHub_M states it, last updated April 23, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
Packagistcodeigniter4/framework< 4.1.64.1.6GHSA-w6jr-wj64-mc9x

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated January 6, 2022. Summary: Deserialization of Untrusted Data in Codeigniter4.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
codeignitercodeigniterfrom 4.0.0 before 4.1.6application

NVD analysis (status Modified), last modified June 17, 2026, 04:26 UTC.

How severe is CVE-2022-21647?

ScoreVersionVectorSource
High 7.7CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:HGitHub_M
Critical 9.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD
High 7.5CVSS 2.0AV:N/AC:L/Au:N/C:P/I:P/A:PNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2022-21647 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: partial (CISA ADP, April 23, 2025)
EPSS
37.7% probability of exploitation activity in the next 30 days, percentile 98.6 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
November 16, 2021
Published
January 4, 2022, 20:05 UTC
CVE record updated
April 23, 2025, 19:14 UTC by GitHub_M
NVD
Modified, last modified June 17, 2026, 04:26 UTC
Last checked
CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:52 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect CodeIgniter4?

Every CVE in CodeIgniter4

Questions about CVE-2022-21647

Is CVE-2022-21647 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 37.7% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of CodeIgniter4 are affected by CVE-2022-21647?

codeigniter4/framework before 4.1.6, per the GitHub advisory GHSA-w6jr-wj64-mc9x. The tables above give every range the sources list.

Which version fixes CVE-2022-21647?

4.1.6, per the GitHub advisory GHSA-w6jr-wj64-mc9x. Check the vendor's advisory before you rely on it.

How severe is CVE-2022-21647?

High (7.7, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.

Where is the official record of CVE-2022-21647?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.