Is codeigniter4/framework 4.0 vulnerable?

Composer · 6 releases from 4.0.0 to 4.0.5 · latest codeigniter4/framework is 4.7.6 · checked 1 Nov 2026

Yes: 16 known advisories

Yes. codeigniter4/framework 4.0.5, the last 4.0 release, is affected by 16 known security advisories (5 critical, 6 high, 4 medium, 1 low), including CVE-2026-63223, CVE-2026-48062, CVE-2025-54418. 1 more affects earlier 4.0.x releases. Upgrade to 4.7.4 or later to fix all of them.

Upgrade with:composer require codeigniter4/framework:^4.7.4

Is your project affected?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Advisories affecting codeigniter4/framework 4.0.5

  • CriticalCVE-2026-63223GHSA-mmj4-63m4-r6h57 Aug 2026

    CodeIgniter: Uploaded file extension validation bypass in `is_image` and `mime_in` rules

    Affected
    <4.7.4
    Fixed in
    4.7.4
  • HighCVE-2026-63222GHSA-hhmc-q9hp-r6627 Aug 2026

    CodeIgniter: Path traversal in UploadedFile::move() when using client-provided filenames

    Affected
    <4.7.4
    Fixed in
    4.7.4
  • MediumCVE-2026-63220GHSA-7wmf-pw8j-mc787 Aug 2026

    CodeIgniter: Spoofable forwarded HTTPS headers in IncomingRequest::isSecure()

    Affected
    <4.7.4
    Fixed in
    4.7.4
  • CriticalCVE-2026-48062GHSA-2gr4-ppc7-7mhx11 Jun 2026

    CodeIgniter4 has a validation bypass when uploading file extensions via `ext_in` rule

    Affected
    <4.7.3
    Fixed in
    4.7.3
  • CriticalCVE-2025-54418GHSA-9952-gv64-x94c28 Jul 2025

    CodeIgniter4's ImageMagick Handler has Command Injection Vulnerability

    Affected
    <4.6.2
    Fixed in
    4.6.2
  • MediumCVE-2025-24013GHSA-x5mq-jjr3-vmx621 Jan 2025

    Missing validation of header name and value in codeigniter4/framework

    Affected
    <4.5.8
    Fixed in
    4.5.8
  • HighCVE-2024-29904GHSA-39fp-mqmm-gxj629 Mar 2024

    CodeIgniter4 DoS Vulnerability

    Affected
    <4.4.7
    Fixed in
    4.4.7
  • HighCVE-2023-46240GHSA-hwxf-qxj7-7rfj30 Oct 2023

    CodeIgniter4 vulnerable to information disclosure when detailed error report is displayed in production environment

    Affected
    <4.4.3
    Fixed in
    4.4.3
  • CriticalCVE-2023-32692GHSA-m6m8-6gq8-c9fj22 May 2023

    Remote Code Execution Vulnerability in Validation Placeholders in CodeIgniter4

    Affected
    <4.3.5
    Fixed in
    4.3.5
  • HighCVE-2022-46170GHSA-6cq5-8cj7-g55822 Dec 2022

    CodeIgniter4 Potential Session Handlers Vulnerability

    Affected
    <4.2.11
    Fixed in
    4.2.11
  • HighCVE-2022-23556GHSA-ghw3-5qvm-3mqc22 Dec 2022

    CodeIgniter4 allows spoofing of IP address when using proxy

    Affected
    <4.2.11
    Fixed in
    4.2.11
  • LowCVE-2022-39284GHSA-745p-r637-7vvp6 Oct 2022

    Codeigniter4's Secure or HttpOnly flag set in Config\Cookie is not reflected in Cookies issued

    Affected
    <4.2.7
    Fixed in
    4.2.7
  • MediumCVE-2022-24712GHSA-4v37-24gm-h5541 Mar 2022

    Cross-Site Request Forgery (CSRF) Protection Bypass Vulnerability in CodeIgniter4

    Affected
    <4.1.9
    Fixed in
    4.1.9
  • CriticalCVE-2022-24711GHSA-xjp4-6w75-qrj71 Mar 2022

    Remote CLI Command Execution Vulnerability in CodeIgniter4

    Affected
    <4.1.9
    Fixed in
    4.1.9
  • MediumCVE-2022-21715GHSA-7528-7jg5-6g6227 Jan 2022

    Cross-site Scripting Vulnerability in CodeIgniter4

    Affected
    <4.1.8
    Fixed in
    4.1.8
  • HighCVE-2022-21647GHSA-w6jr-wj64-mc9x6 Jan 2022

    Deserialization of Untrusted Data in Codeigniter4

    Affected
    <4.1.6
    Fixed in
    4.1.6

Fixed within 4.0.x, affecting earlier releases

  • HighCVE-2020-10793GHSA-jwqp-wh5g-4gmm24 May 2022

    CodeIgniter Improper Privilege Management

    Affected
    <=4.0.0
    Fixed in
    No fix released

Which of your client projects are still on codeigniter4/framework 4.0?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact codeigniter4/framework version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other codeigniter4/framework versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the Composer registry. Refreshed daily.