# CodeIgniter4 before 4.7.5 Code Injection via View Data Key Collision

CVE record · `CVE-2026-142153`

- **Identifiers:** `CVE-2026-142153`
- **State:** Confirmed
- **Severity:** CVSS 7.7 High
- **Critical:** No
- **CNA:** VulnCheck
- **Weakness (CWE):** [CWE-95](https://cwe.mitre.org/data/definitions/95.html)
- **Tags:** [Code injection](https://agentprime.io/advisories/tag/code-injection.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 code injection because view data is extracted into the same scope as internal variables, so colliding keys can replace the template source or an included view path. An attacker who can control view data keys, such as through the template, view, or foundView keys passed to the rendering functions, can execute PHP code or include unintended local files. 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

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

- **CISA KEV:** Not listed.
- **EPSS:** 0.0060, the 49th 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-142153)
- 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-142153)

## Sources

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

### References from the CNA

- <https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-c29x-ffjj-8r7x> (vendor-advisory)
- <https://www.vulncheck.com/advisories/codeigniter4-before-4.7.5-code-injection-via-view-data-key-collision> (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-142153>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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