Home › CVE › Vulnerabilities
CVE-2026-142152 — CodeIgniter4
One of 7 CodeIgniter4 vulnerabilities published together by NVD: our article covers all of them.
VulnerabilitiesSummary
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.
Severity breakdown
Medium · 6.9
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- no
- User action needed
- no
- Impact
- low on integrity, none on confidentiality and availability
- Impact on other systems
- none
Weakness
- CWE-434: Unrestricted Upload of File with Dangerous Type
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| CodeIgniter4 | < 4.7.5 | 4.7.5 |
References by type
Vendor advisories
Other references
Affected
- CodeIgniter4
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-142152?
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. Weakness type: Unrestricted Upload of File with Dangerous Type (CWE-434).
How severe is CVE-2026-142152?
CVE-2026-142152 has a CVSS 4.0 base score of 6.9 (medium), from the CNA (vulncheck.com). An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-142152 being exploited?
Not as far as is known: CVE-2026-142152 is not in CISA's Known Exploited Vulnerabilities catalog as of December 2, 2026.
Which versions are affected by CVE-2026-142152?
CodeIgniter4 < 4.7.5 (fixed in 4.7.5).
How do I fix CVE-2026-142152?
Update to a fixed release: CodeIgniter4 4.7.5.