CVE-2026-142154
HIGH 8.7 UPDATED SOURCE DATASource catalogue and publisher evidence; linked resources have not been executed or independently validated by Vulnpedia.
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.
Severe if exploited (CVSS 8.7); current sources show no confirmed exploitation. Consider exposure and affected versions when prioritizing remediation.
Exploitation likelihood
—EPSS not scored
Impact if exploited
8.7CVSS 4.0 · HIGH · CNA
- ConfidentialityHigh
- IntegrityHigh
- AvailabilityHigh
What an attacker needs
- ✓Access: Reachable over the network — no local access needed
- ⚠Privileges: Requires a low-privilege account
- ✓User interaction: No user interaction needed
- ✓Complexity: No special conditions — reliably repeatable
- ✓Requirements: No special attack requirements
✓ lowers the bar for an attacker · ⚠ raises it
Proof of concept
No public PoC is currently catalogued.
Search for new PoCs
Search GitHub now — results may be empty or unverified.
Supported CVE and PoC feeds are scheduled every 30 minutes, including for older CVEs. Other enrichment runs daily or weekly; source availability can delay updates. A later release appears after a tracked source lists it and a refresh succeeds.
Data snapshot:
Weakness (CWE)
- CWE-94: Improper Control of Generation of Code ('Code Injection')
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
References and research data (JSON) · Change history
All CVSS metrics
- HIGH 8.7 v4.0 · CNA Primary
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - HIGH 8.8 v3.1 · CNA Primary
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
Advisories
- https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-4q58-jw8x-8cm7 CVE record · VulnCheck · Updated 2026-12-02T14:37:45.611Z
- https://www.vulncheck.com/advisories/codeigniter4-before-4.7.5-code-injection-via-view-parser-conditionals CVE record · VulnCheck · Updated 2026-12-02T14:37:45.611Z
Sources: NVD · CVE.org · All sources and attribution · EPSS