CVE-2026-142154 — CodeIgniter4
One of 7 CodeIgniter4 vulnerabilities published together by NVD: our article covers all of them.
PHPWebEmailVulnerabilitiesSummary
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.
Severity breakdown
High · 8.7
An attacker with a normal user account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- yes, a normal user account
- User action needed
- no
- Impact
- high on confidentiality, integrity and availability
- Impact on other systems
- none
Weakness
- CWE-94: Improper Control of Generation of Code ('Code Injection')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| CodeIgniter4 | < 4.7.5 | 4.7.5 |
References by type
Vendor advisories
Other references
Affected
- CodeIgniter4
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-142154?
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. Weakness type: Improper Control of Generation of Code ('Code Injection') (CWE-94).
How severe is CVE-2026-142154?
CVE-2026-142154 has a CVSS 4.0 base score of 8.7 (high), from the CNA (vulncheck.com). An attacker with a normal user account can exploit this over the network, without any user action.
Is CVE-2026-142154 being exploited?
Not as far as is known: CVE-2026-142154 is not in CISA's Known Exploited Vulnerabilities catalog as of December 2, 2026.
Which versions are affected by CVE-2026-142154?
CodeIgniter4 < 4.7.5 (fixed in 4.7.5).
How do I fix CVE-2026-142154?
Update to a fixed release: CodeIgniter4 4.7.5.
Timeline & sources
References
Related vulnerabilities & news
- CVE-2026-133368 — hasthemes Swatchly – Product Variation Swatches for WooCommerce
- CVE-2026-109389 — xlplugins NextMove Lite – Thank You Page for WooCommerce
- CVE-2026-137042 — nalut EU Withdrawal Button for WooCommerce
- CVE-2026-133401 — bitpressadmin Bit integrations – Form Integration, Webhook, Spreadsheets, CRM, LMS & Email Automation
- CVE-2026-136351 — joomshaper.com Easy Store extension for Joomla