Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-48062— CodeIgniter: Uploaded file extension validation bypass in `ext_in` rule

Quick assessment

Affected
codeigniter4 CodeIgniter4
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

CodeIgniter是Codeigniter组织开源的一个轻量级、快速、灵活和安全的 PHP 全栈 Web 框架。 CodeIgniter4 4.7.3之前版本存在任意文件上传漏洞,该漏洞源于ext_in上传验证规则检查MIME推测的扩展名而非客户端提供的文件名扩展,可能导致攻击者上传名为shell.php的GIF内容文件并执行任意代码。

CVSS 9.8 · Critical EPSS 0.44% · P37

Affected Version Matrix 1

VendorProduct Version RangeStatus
codeigniter4 CodeIgniter4 < 4.7.3 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-48062

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
CodeIgniter: Uploaded file extension validation bypass in `ext_in` rule
Source: CVE Program / CVE List V5
Vulnerability Description
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 uploaded[avatar]|is_image[avatar]|mime_in[avatar,image/gif]|ext_in[avatar,gif] because the detected MIME type maps to gif, even though the uploaded filename extension is php. Applications are impacted if they accept user-controlled uploads, rely on ext_in to validate the uploaded filename extension, save uploaded files using the original client filename with $file->move($path), store uploads in a web-accessible directory, and allow PHP or other executable files to run from that directory. In those conditions, this may lead to arbitrary code execution. This issue is fixed in version 4.7.3.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
危险类型文件的不加限制上传
Source: CVE Program / CVE List V5
Vulnerability Title
codeigniter 任意文件上传漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
CodeIgniter是Codeigniter组织开源的一个轻量级、快速、灵活和安全的 PHP 全栈 Web 框架。 CodeIgniter4 4.7.3之前版本存在任意文件上传漏洞,该漏洞源于ext_in上传验证规则检查MIME推测的扩展名而非客户端提供的文件名扩展,可能导致攻击者上传名为shell.php的GIF内容文件并执行任意代码。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
codeigniter4 CodeIgniter4 < 4.7.3 -

II. Public POCs for CVE-2026-48062

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 8211 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-48062

登录查看更多情报信息。

Patches & Fixes for CVE-2026-48062 (1)

Vendor Advisories for CVE-2026-48062 (1)

Vendor Pages for CVE-2026-48062 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-48062

No comments yet


Leave a comment