codeigniter4/framework: is it safe?

Short answer: Version 4.7.4 or later has a fix for every vulnerability listed here. Older versions may be affected: check the table against the exact version you run.

Composer codeigniter4/framework has 19 known advisories in the phpwarden feed. Feed 2026.11.23.2, updated 2026-11-23.

19advisories
6critical
0on CISA KEV
1no fix recorded
CVETitleSeverityCVSSAffectedFixed in
CVE-2022-21647Deserialization of Untrusted Data in Codeigniter4high7.7<4.1.64.1.6
CVE-2020-10793CodeIgniter Improper Privilege Managementhigh8.8<=4.0.0–
CVE-2025-54418CodeIgniter4's ImageMagick Handler has Command Injection Vulnerabilitycritical9.8<4.6.24.6.2
CVE-2022-24711Remote CLI Command Execution Vulnerability in CodeIgniter4critical9.4<4.1.94.1.9
CVE-2023-32692Remote Code Execution Vulnerability in Validation Placeholders in CodeIgniter4critical9.8<4.3.54.3.5
CVE-2022-39284Codeigniter4's Secure or HttpOnly flag set in Config\Cookie is not reflected in Cookies issuedlow2.6<4.2.74.2.7
CVE-2022-21715Cross-site Scripting Vulnerability in CodeIgniter4medium5.4<4.1.84.1.8
CVE-2017-1000247CodeIgniter HTTP Header Injectionhigh7.5>=3.1.3 and <3.1.43.1.4
CVE-2022-46170CodeIgniter4 Potential Session Handlers Vulnerabilityhigh8.6<4.2.114.2.11
CVE-2026-63223CodeIgniter: Uploaded file extension validation bypass in `is_image` and `mime_in` rulescritical9.8<4.7.44.7.4
CVE-2023-46240CodeIgniter4 vulnerable to information disclosure when detailed error report is displayed in production environmenthigh7.5<4.4.34.4.3
CVE-2026-48062CodeIgniter4 has a validation bypass when uploading file extensions via `ext_in` rulecritical9.8<4.7.34.7.3
CVE-2024-29904CodeIgniter4 DoS Vulnerabilityhigh7.5<4.4.74.4.7
CVE-2026-63222CodeIgniter: Path traversal in UploadedFile::move() when using client-provided filenameshigh7.5<4.7.44.7.4
CVE-2026-63221CodeIgniter: SQL injection in Query Builder deleteBatch() when used with where() conditionscritical9.4>=4.3.0 and <4.7.44.7.4
CVE-2022-24712Cross-Site Request Forgery (CSRF) Protection Bypass Vulnerability in CodeIgniter4medium6.3<4.1.94.1.9
CVE-2025-24013Missing validation of header name and value in codeigniter4/frameworkmedium5.3<4.5.84.5.8
CVE-2022-23556CodeIgniter4 allows spoofing of IP address when using proxyhigh7.0<4.2.114.2.11
CVE-2026-63220CodeIgniter: Spoofable forwarded HTTPS headers in IncomingRequest::isSecure()medium4.8<4.7.44.7.4

Quick answers

Is codeigniter4/framework safe to use?

Version 4.7.4 or later has a fix for every vulnerability listed here. Older versions may be affected: check the table against the exact version you run.

Is codeigniter4/framework being actively exploited?

None of its 19 known vulnerabilities are on CISA's Known Exploited Vulnerabilities list today.

How do I check my own site?

Run `phpwarden deps composer.lock`. phpwarden compares the exact version you have installed with these advisories and lists only the ones that apply, exploited ones first.

Am I affected?

Find out in one command. phpwarden checks your composer.lock against this advisory and 21,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden deps composer.lock

# or, without Composer
pipx install phpwarden   &&   phpwarden deps composer.lock

Or keep it checked automatically: GitHub Action · pre-commit hook · GitLab CI · Laravel artisan command

Install docs   How findings are ranked
A version is vulnerable when it falls inside an affected range and below the fixed version. phpwarden applies these ranges to the exact versions in your lockfile or install, so you only see what applies to you.

Add this status to your README

phpwarden status badge

Maintainer of this package? The badge updates itself whenever the feed is rebuilt (twice a day). Add ?v=1.2.3 to the image address to show the status of one exact version.

[![phpwarden](https://phpwarden.io/badge/codeigniter4/framework.svg)](https://phpwarden.io/packages/codeigniter4/framework)