CVE-2026-48062: Vulnerability in codeigniter4/framework

Critical. CodeIgniter is a PHP full-stack web framework. Prior to 4.7.3, the ext_in upload validation rule in system/Validation/StrictRules/FileRules.php checked the MIME-derived guessed extension instead of the client-provided filename extension. As a result, an uploaded file named shell.php containing GIF-like content could pass validation such as...

Packagist, CWE-434

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-2gr4-ppc7-7mhx
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-434
Published
11 Jun 2026
Last change
23 Jul 2026
Ecosystem
Packagist

Affected packages

Vulnerable version ranges and fixed releases

  • codeigniter4/framework Packagist, Affected before 4.7.2. Fixed in 4.7.3

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes