The vendor says PHP execution is possible when the application renders those templates with unrestricted Parser conditional tags. A network-facing template editor is a relevant exposure only when the user can edit the source and the application later renders it under those conditions.The vendor rates the issue High and scores it CVSS 3.1 8.8. The VulnCheck CNA record scores it CVSS 4.0 8.7 (High) and CVSS 3.1 8.8 (High). For product context, see the vulnerability intelligence platform.
What it allows
How Can CVE-2026-142154 Lead to PHP Execution?
The vendor locates the trust boundary at editable View Parser template source. A less-trusted editor can place crafted conditional tags in that source. Rendering those tags without the conditional restriction can then execute PHP code on the application server.
This is a conditional exposure, not a general claim about every CodeIgniter4 application. The vendor says applications using only developer-controlled templates are unaffected. For the consequence of server-side code execution, see the remote code execution explanation.
The CISA KEV catalog version dated 30 November 2026 does not list this CVE. Our defensive reading is to prioritize deployed applications where a lower-trust user can modify template source and those templates are rendered by the Parser. Review editor permissions and the rendering configuration before treating a template-management feature as exposed.
Who is affected
Which CVE-2026-142154 Deployments Need Action?
The CodeIgniter4 advisory lists codeigniter4/framework versions before 4.7.5 as affected and 4.7.5 as patched. Its impact statement requires two application conditions: less-trusted users can edit template source, and Parser conditional tags remain unrestricted when that source is rendered. The advisory says upgrading alone does not remove this exposure.
Upgrade affected installations to 4.7.5 or later. For every affected template, enable ConfigView::$restrictParserConditionals or the per-render restrictConditionals option, as the vendor directs. If those changes cannot be completed immediately, limit editing to users trusted to execute server-side PHP and avoid rendering less-trusted source with the Parser.
Inventory the deployed Composer package and the applications that render editable templates. Verify the running release and the effective conditional setting in each deployment after the change. Record the verified version and configuration in the patch management process.
Timeline
-
2026-10-09
CodeIgniter4 published GHSA-4q58-jw8x-8cm7 and identified 4.7.5 as the patched release.
-
2026-12-02
The VulnCheck CNA published the CVE-2026-142154 record.
What to do
-
Find editable Parser templates
Identify applications where less-trusted users can edit template source. Confirm whether those templates are rendered with Parser conditional tags.
-
Upgrade the framework
Upgrade codeigniter4/framework to 4.7.5 or later. Verify the release actually loaded by each deployed application process.
-
Restrict conditionals
Enable ConfigView::$restrictParserConditionals or per-render restrictConditionals for every affected template. Confirm the effective setting after deployment; the vendor says upgrading alone is insufficient.
-
Review exposed access
Check who can edit template source and review relevant template changes and application logs. Treat suspicious changes as investigation leads, not proof of this CVE being exploited.
What Brandefense can do
- Watch your stack for exploited flaws
Name the vendors and products you run, and Brandefense alerts you when a CVE in them is exploited.
- See CVE-2026-142154 in Brandefense Atlas
The Atlas record of CVE-2026-142154: severity, exploitation status and the sources behind it.
- Vulnerability intelligence platform
Brandefense Vulnerability Intelligence follows which vulnerabilities attackers are using, so your team can patch what is under attack first.
Frequently Asked Questions
What must an attacker control to exploit CVE-2026-142154?
The vendor says an attacker must be able to edit View Parser template source that the application later renders with unrestricted conditional tags.
Does upgrading to 4.7.5 fully address the exposure?
The vendor says no. Enable the global conditional restriction or the per-render option for every affected template, and verify that setting after upgrading.
Are developer-controlled templates affected?
The CodeIgniter4 advisory says applications using only developer-controlled templates are unaffected by this issue.
Sources
- PHP Code Execution Through Parser Conditionals in User-Editable TemplatesCodeIgniter4
- CVE-2026-142154 RecordVulnCheck CNA via CVE Program
- Known Exploited Vulnerabilities CatalogCISA