CVE-2026-142152: CodeIgniter4 before 4.7.5 File Upload Validation Bypass via Empty File Entry

Published Dec 2, 2026
·
Updated

CodeIgniter4 before 4.7.5 contains a file upload validation bypass in FileRules that allows remote attackers to evade type, extension, size, and dimension checks. Attackers can place an empty UPLOADERRNOFILE entry before a disallowed file in an optional multiple-file upload to get it accepted, potentially enabling code execution where uploads are web-accessible.

Affected Software

1 affected component
CodeIgniter CodeIgniter4<4.7.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade CodeIgniter4 to a version that resolves this vulnerability.

    Fixed in 4.7.5

Event History

Dec 2, 2026
CVE Published
via MITRE·02:37 PM
Data Sourced
via MITRE·02:37 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which upload endpoints are exposed to this bypass?

The issue affects optional multiple-file upload handling where FileRules validation is used. An endpoint is susceptible when an attacker can submit multiple file entries and the application relies on type, extension, size, or dimension checks to reject disallowed files.

2

What does an attacker need to send to exploit it?

The attacker must submit an empty file entry that produces UPLOAD_ERR_NO_FILE before a disallowed file in the same multiple-file upload. No authentication or user interaction is required according to the supplied severity vector.

3

When could this lead to code execution?

Code execution is only a potential outcome if the accepted uploaded file is placed in a web-accessible location and can be executed by the server. The validation bypass itself allows evasion of the listed file validation checks.

4

How can I determine whether my application is affected?

Check whether it uses CodeIgniter4 versions before 4.7.5 and accepts optional multiple-file uploads validated through FileRules. Review whether an upload request containing an empty leading file entry can cause a later disallowed file to pass validation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203