CVE-2026-142154 — CodeIgniter4
HIGHCVE-2026-142154 is a high-severity (CVSS 8.8) Code Injection vulnerability in codeigniter4 CodeIgniter4. A fix is available — see the affected versions and patch details below.
CodeIgniter4 before 4.7.5 contains a code injection vulnerability that allows less-trusted template editors to execute PHP code through unrestricted View Parser conditional tags. Attackers…
Exploitation Status
No confirmed exploitation observed yet
- A successful exploit gives an attacker total control of the affected component, not partial access.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2026-142154.
Description
CodeIgniter4 before 4.7.5 contains a code injection vulnerability that allows less-trusted template editors to execute PHP code through unrestricted View Parser conditional tags. Attackers who can edit template source, such as online email templates, can inject crafted conditionals to execute arbitrary PHP code on the server.
Affected Products
CodeIgniter4codeigniter4Detection & mitigation playbook
Vendor / applianceDetect
Inventory every codeigniter4 CodeIgniter4 deployment and check each version against the affected-products list above.
Fix
Apply the codeigniter4 CodeIgniter4 security patch or hotfix for CVE-2026-142154 on the affected version, following the vendor advisory for your exact build.
Workarounds
Stop passing untrusted input into the interpreter or shell: call the affected binary with an argument array rather than a composed command string, reject anything outside a strict allowlist of expected values, and run the component under an account that cannot reach beyond the work it legitimately does. Alongside that, restrict the management interface to trusted networks and apply the vendor's recommended configuration mitigations.
Frequently Asked Questions
Is CVE-2026-142154 being exploited in your environment?
Detect and block the exploit chain at execution, on systems you cannot patch yet.