CVE-2026-142153

7.5High

Published Dec 2, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

7.5CVSS

High

0CVSS v3.110

Attack vector
Network
Complexity
High
Privileges
Low
User action
None
Impact
Full C/I/A compromise
Weakness
CWE-95

What an attacker gets

Authenticated attackers can execute arbitrary PHP code or include local files by manipulating view data keys. This occurs when an attacker controls input passed to the Parser or View rendering methods.

Root cause

The application extracts view data into the local scope, allowing user-controlled keys to overwrite internal variables like template paths.

Affected versions

CodeIgniter4 before 4.7.5

CVSS v3.1 · CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Fix & remediation

Upgrade to CodeIgniter4 version 4.7.5 or later. If you cannot patch immediately, sanitize all keys passed to Parser::render(), Parser::renderString(), View::renderString(), and view cells to ensure they do not collide with internal variable names.

remediation — bash
$ composer update codeigniter4/framework

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

CodeIgniter4 before 4.7.5 contains a code injection vulnerability because view data is extracted into the same scope as internal variables, letting colliding keys replace the trusted template source or an included view path. Attackers who control view data keys can supply template, view, or foundView keys to Parser::render(), Parser::renderString(), View::renderString(), or view cells to execute PHP code or include unintended local files.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-142153

More fully triaged vulnerabilities you may want to check next.