Packagist (PHP)Worst: Critical20 advisories

codeigniter4/framework: known vulnerabilities

codeigniter4/framework has 20 reviewed security advisories in the GitHub Advisory Database — 6 critical, 8 high, 5 moderate, 1 low. The most recent was published 2026-07-31. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the codeigniter4/framework versions running across your servers, containers and images, and ranks what to patch first.

How to fix codeigniter4/framework

Upgrade codeigniter4/framework to a release at or above the fixed version shown for each advisory below. For Packagist (PHP):

composer require codeigniter4/framework:^4.7.4 (composer audit)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (20)

CodeIgniter: Spoofable forwarded HTTPS headers in IncomingRequest::isSecure() Moderate 4.8 CWE-348 — Affected: before 4.7.4. Fixed in 4.7.4. Published 2026-07-31. GHSA-7wmf-pw8j-mc78 · CVE-2026-63220
CodeIgniter: SQL injection in Query Builder deleteBatch() when used with where() conditions Critical 9.4 CWE-89 — Affected: from 4.3.0 up to 4.7.4. Fixed in 4.7.4. Published 2026-07-31. GHSA-c9w5-rwh3-7pm9 · CVE-2026-63221
CodeIgniter: Path traversal in UploadedFile::move() when using client-provided filenames High 7.5 CWE-22 — Affected: before 4.7.4. Fixed in 4.7.4. Published 2026-07-31. GHSA-hhmc-q9hp-r662 · CVE-2026-63222
CodeIgniter: Uploaded file extension validation bypass in `is_image` and `mime_in` rules Critical 9.8 CWE-434 — Affected: before 4.7.4. Fixed in 4.7.4. Published 2026-07-31. GHSA-mmj4-63m4-r6h5 · CVE-2026-63223
CodeIgniter4 has a validation bypass when uploading file extensions via `ext_in` rule Critical 9.8 CWE-434 — Affected: before 4.7.3. Fixed in 4.7.3. Published 2026-06-11. GHSA-2gr4-ppc7-7mhx · CVE-2026-48062
CodeIgniter4's ImageMagick Handler has Command Injection Vulnerability Critical 9.8 CWE-78 — Affected: before 4.6.2. Fixed in 4.6.2. Published 2025-07-28. GHSA-9952-gv64-x94c · CVE-2025-54418
Withdrawn Advisory: CodeIgniter4 Cross-Site Scripting Vulnerability in debugbar_time Parameter Moderate 6.1 CWE-79 — Affected: up to and including 4.6.2. No fixed release is listed. Published 2025-07-25. GHSA-49jm-g4m8-x53p · CVE-2025-45406
Missing validation of header name and value in codeigniter4/framework Moderate 5.3 CWE-436 — Affected: before 4.5.8. Fixed in 4.5.8. Published 2025-01-20. GHSA-x5mq-jjr3-vmx6 · CVE-2025-24013
CodeIgniter4 vulnerable to information disclosure when detailed error report is displayed in production environment High 7.5 CWE-209 — Affected: before 4.4.3. Fixed in 4.4.3. Published 2023-10-31. GHSA-hwxf-qxj7-7rfj · CVE-2023-46240
Remote Code Execution Vulnerability in Validation Placeholders in CodeIgniter4 Critical 9.8 CWE-94 — Affected: before 4.3.5. Fixed in 4.3.5. Published 2023-05-30. GHSA-m6m8-6gq8-c9fj · CVE-2023-32692
CodeIgniter4 Potential Session Handlers Vulnerability High 8.6 CWE-287 — Affected: before 4.2.11. Fixed in 4.2.11. Published 2022-12-22. GHSA-6cq5-8cj7-g558 · CVE-2022-46170
CodeIgniter4 allows spoofing of IP address when using proxy High 7.0 CWE-345 — Affected: before 4.2.11. Fixed in 4.2.11. Published 2022-12-22. GHSA-ghw3-5qvm-3mqc · CVE-2022-23556
Codeigniter4's Secure or HttpOnly flag set in Config\Cookie is not reflected in Cookies issued Low 2.6 CWE-665 CWE-732 — Affected: before 4.2.7. Fixed in 4.2.7. Published 2022-10-06. GHSA-745p-r637-7vvp · CVE-2022-39284
Cross-Site Request Forgery (CSRF) Protection Bypass Vulnerability in CodeIgniter4 Moderate 6.3 CWE-352 — Affected: before 4.1.9. Fixed in 4.1.9. Published 2022-02-28. GHSA-4v37-24gm-h554 · CVE-2022-24712
Remote CLI Command Execution Vulnerability in CodeIgniter4 Critical 9.4 CWE-20 CWE-94 — Affected: before 4.1.9. Fixed in 4.1.9. Published 2022-02-28. GHSA-xjp4-6w75-qrj7 · CVE-2022-24711
Cross-site Scripting Vulnerability in CodeIgniter4 Moderate 5.4 CWE-79 — Affected: before 4.1.8. Fixed in 4.1.8. Published 2022-01-24. GHSA-7528-7jg5-6g62 · CVE-2022-21715
Deserialization of Untrusted Data in Codeigniter4 High 7.7 CWE-502 — Affected: before 4.1.6. Fixed in 4.1.6. Published 2022-01-04. GHSA-w6jr-wj64-mc9x · CVE-2022-21647
CodeIgniter Improper Privilege Management High 8.8 CWE-269 — Affected: up to and including 4.0.0. No fixed release is listed. Published 2020-03-23. GHSA-jwqp-wh5g-4gmm · CVE-2020-10793

Find codeigniter4/framework across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.