codeigniter4/framework vulnerabilities

The CodeIgniter framework v4

Registry
Composer
Latest
4.7.5
License
MIT

19 known advisories

The latest version, 4.7.5, is not affected by any of them. Projects on older versions may be.

Update to the latest version:composer require codeigniter4/framework:^4.7.5

Security advisories for codeigniter4/framework

  • CriticalGHSA-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
  • HighGHSA-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
  • CriticalGHSA-c9w5-rwh3-7pm97 Aug 2026

    CodeIgniter: SQL injection in Query Builder deleteBatch() when used with where() conditions

    Affected
    >=4.3.0 <4.7.4
    Fixed in
    4.7.4
  • MediumGHSA-7wmf-pw8j-mc787 Aug 2026

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

    Affected
    <4.7.4
    Fixed in
    4.7.4
  • CriticalGHSA-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
  • CriticalGHSA-9952-gv64-x94c28 Jul 2025

    CodeIgniter4's ImageMagick Handler has Command Injection Vulnerability

    Affected
    <4.6.2
    Fixed in
    4.6.2
  • MediumGHSA-x5mq-jjr3-vmx621 Jan 2025

    Missing validation of header name and value in codeigniter4/framework

    Affected
    <4.5.8
    Fixed in
    4.5.8
  • HighGHSA-39fp-mqmm-gxj629 Mar 2024

    CodeIgniter4 DoS Vulnerability

    Affected
    <4.4.7
    Fixed in
    4.4.7
  • HighGHSA-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
  • CriticalGHSA-m6m8-6gq8-c9fj22 May 2023

    Remote Code Execution Vulnerability in Validation Placeholders in CodeIgniter4

    Affected
    <4.3.5
    Fixed in
    4.3.5
  • HighGHSA-6cq5-8cj7-g55822 Dec 2022

    CodeIgniter4 Potential Session Handlers Vulnerability

    Affected
    <4.2.11
    Fixed in
    4.2.11
  • HighGHSA-ghw3-5qvm-3mqc22 Dec 2022

    CodeIgniter4 allows spoofing of IP address when using proxy

    Affected
    <4.2.11
    Fixed in
    4.2.11
  • LowGHSA-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
  • HighGHSA-jwqp-wh5g-4gmm24 May 2022

    CodeIgniter Improper Privilege Management

    Affected
    <=4.0.0
    Fixed in
    No fix released
  • HighGHSA-j9f9-8j39-4g9717 May 2022

    CodeIgniter HTTP Header Injection

    Affected
    >=3.1.3 <3.1.4
    Fixed in
    3.1.4
  • MediumGHSA-4v37-24gm-h5541 Mar 2022

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

    Affected
    <4.1.9
    Fixed in
    4.1.9
  • CriticalGHSA-xjp4-6w75-qrj71 Mar 2022

    Remote CLI Command Execution Vulnerability in CodeIgniter4

    Affected
    <4.1.9
    Fixed in
    4.1.9
  • MediumGHSA-7528-7jg5-6g6227 Jan 2022

    Cross-site Scripting Vulnerability in CodeIgniter4

    Affected
    <4.1.8
    Fixed in
    4.1.8
  • HighGHSA-w6jr-wj64-mc9x6 Jan 2022

    Deserialization of Untrusted Data in Codeigniter4

    Affected
    <4.1.6
    Fixed in
    4.1.6

Which of your client projects still run an old codeigniter4/framework?

NPMscan reads the composer.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other Composer packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the Composer registry.