CVE-2026-142152: CodeIgniter4 Unrestricted File Upload
Published 2026-12-02 · Updated 2026-12-03 · Source disclosure@vulncheck.com
Not known to be exploited · medium severity — update CodeIgniter4 to 4.7.5 or later on your normal schedule.
What to do
- Update CodeIgniter4 to version 4.7.5 or later. Versions before 4.7.5 are affected.
- Until it is patched, do not leave CodeIgniter4 reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
- Disable script execution in upload directories and restrict who can upload.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| CodeIgniter4 | < 4.7.5 | 4.7.5 |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker does not need an account, and no action by a victim is required. Attack complexity is low, so a working exploit is expected to be reliable. The impact is limited: integrity is rated low.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | Low | No special conditions are needed; the attack is repeatable. |
| Privileges required | None | The attacker does not need an account. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | None | No effect on confidentiality. |
| Integrity | Low | Partial loss of integrity. |
| Availability | None | No effect on availability. |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness: Unrestricted File Upload
An attacker can upload a file type the server will execute, typically a web shell, leading to code execution.
Classified as CWE-434.
Description
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 UPLOAD_ERR_NO_FILE entry before a disallowed file in an optional multiple-file upload to get it accepted, potentially enabling code execution where uploads are web-accessible.
Advisory text as published in the NVD record.