# CodeIgniter4 before 4.7.5 File Upload Validation Bypass via Empty File Entry

CVE record · `CVE-2026-142152`

- **Identifiers:** `CVE-2026-142152`
- **State:** Confirmed
- **Severity:** CVSS 6.9 Medium
- **Critical:** No
- **CNA:** VulnCheck
- **Weakness (CWE):** [CWE-434](https://cwe.mitre.org/data/definitions/434.html)
- **Tags:** [Unrestricted file upload](https://agentprime.io/advisories/tag/file-upload.md)
- **Technologies:** [CodeIgniter4](https://agentprime.io/advisories/technology/codeigniter4.md)
- **Published:** 2 Dec 2026
- **Updated:** 2 Dec 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: VulnCheck) at 2 Dec 2026, 14:37 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: codeigniter4. Product: CodeIgniter4.
  - affected: `before 4.7.5` (semver)
  - unaffected: `4.7.5` (semver)
  - Other versions: unaffected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> CodeIgniter4 versions before 4.7.5 are vulnerable to a file upload validation bypass in FileRules. A remote attacker can place an empty upload entry before a disallowed file in an optional multiple-file upload, which lets the file evade type, extension, size, and dimension checks and be accepted. Where uploaded files are web-accessible, this could enable code execution. Upgrade to CodeIgniter4 4.7.5 or later.

Written 2 Dec 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 6.9 Medium, CVSS 4.0: `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`, from CNA (VulnCheck) (used for this record)
- 5.3 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`, from CNA (VulnCheck)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0076, the 56th percentile, on 3 Dec 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 2 Dec 2026, 14:37 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2026-142152)
- 2 Dec 2026, 14:50 UTC: First seen by agentprime
- 2 Dec 2026, 15:17 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-142152)

## Sources

- [CVE List: CVE-2026-142152](https://www.cve.org/CVERecord?id=CVE-2026-142152)
- [NVD: CVE-2026-142152](https://nvd.nist.gov/vuln/detail/CVE-2026-142152)

### References from the CNA

- <https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-cwxp-v62r-xwx2> (vendor-advisory)
- <https://www.vulncheck.com/advisories/codeigniter4-before-4.7.5-file-upload-validation-bypass-via-empty-file-entry> (third-party-advisory)

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2026-142152>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2026-142152/>. Everything for agents: <https://agentprime.io/llms.txt>.
