Skip to main content

CodeIgniter4 EUVDEUVD-2026-141465

| CVE-2026-142153 HIGH
Eval Injection (CWE-95)
2026-12-02 VulnCheck GHSA-f4rj-rxx6-g4w4
7.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticated request to app forwarding user keys
  2. Delivery
    Inject colliding template/view/foundView key
  3. Exploit
    Value overrides trusted template source
  4. Execution
    Parser/View evaluates attacker PHP
  5. Impact
    Code execution or local file inclusion

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Eval input sanitization
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the application to pass attacker-controllable view-data KEYS (not merely values) into one of the affected sinks: the 'template' key to Parser::render() or Parser::renderString(), the 'view' key (unescaped) to View::renderString(), or the 'foundView' key in view cell data/properties. The classic triggering pattern is forwarding an associative array of user-supplied field names and values to setData() and then rendering. The decisive LIMITING factor, per the vendor, is that applications which choose view-data key names in code and do not expose 'template', 'view', or 'foundView' to user input are NOT affected - this is why CVSS carries AC:H and AT:P. There is no requirement for user interaction (UI:N), but some privilege/application context is assumed (PR:L); it is not a default-configuration remote-unauthenticated flaw.

Impact

This is a genuine code-execution flaw (CWE-95/CWE-621) in CodeIgniter4, confirmed by the vendor GHSA advisory (GHSA-c29x-ffjj-8r7x) and reported by VulnCheck, but its real-world risk is strongly gated by a non-default application coding pattern rather than by the framework being inherently exploitable. The authoritative CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:L/UI:N, VC/VI/VA:H, score 7.7) is internally consistent with the description: network reachable, high attack complexity and a present attack requirement (AT:P) reflecting that the application must forward attacker-controlled view-data KEYS (not just values) into render methods, with PR:L indicating some privilege/context is expected. No KEV listing and no EPSS score are present in the input, and no PoC or exploit reference is supplied - the two references are advisories (vendor GHSA and VulnCheck), not exploit code. The signals are therefore consistent rather than conflicting: high technical impact (full PHP code execution) but constrained reachability, which matches the vuln.today 'this_week' priority rather than an emergency. This is a real priority for teams running CodeIgniter4 that pass user-supplied array keys to views, but it is not a drop-everything mass-exploitation issue in the absence of KEV/EPSS/PoC evidence. Missing data to note explicitly: EPSS probability is not provided, KEV status is not provided (treated as not listed), and no working exploit is referenced.

Exploit ScenarioDerived

An application forwards an associative array of user-supplied field names and values straight into setData() or a render call, so an attacker adds a colliding key such as 'template', 'view', or 'foundView' to an otherwise-normal request. Because view data is extracted into the same scope as internal variables, that value replaces the trusted template source (or an included view path), and PHP tags in the attacker's value are evaluated - yielding code execution or inclusion of an unintended local file. No public exploit is referenced in the input, so this scenario is inferred from the vendor advisory mechanism, and it only works where the app accepts arbitrary user-supplied view-data keys.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Dec 02, 2026

PHP code execution and unintended local file inclusion in CodeIgniter4 before 4.7.5 occur when view data is extracted into the same scope as the framework's internal variables, so a colliding data key can replace the trusted template source or the resolved view path. The flaw is reachable through Parser::render() and Parser::renderString() via a 'template' key, View::renderString() via an unescaped 'view' key, and view cells via 'foundView' data or properties, but only where the application lets less-trusted input dictate those key names. The vendor (GHSA-c29x-ffjj-8r7x) notes that applications which choose view-data key names in code and never expose 'template', 'view' or 'foundView' to user input are not affected - that gating is why the assessment carries AC:H/AT:P and PR:L rather than describing a default-configuration unauthenticated flaw. Version 4.7.5 fixes it; no public exploit was identified at time of analysis and the issue is not in CISA KEV.

RemediationAI

Vendor-released patch: upgrade CodeIgniter4 to 4.7.5 or later (composer/codeigniter4/framework fixed in 4.7.5), following the advisory at https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-c29x-ffjj-8r7x. Where upgrading cannot be done immediately, the vendor's documented workarounds are to select view data key names in application code rather than accepting arbitrary user-supplied key names, and to remove or rename untrusted 'template', 'view' and 'foundView' keys before passing data to Parser::render(), Parser::renderString(), View::renderString() or view cells; templates that intentionally use these names must be adjusted accordingly. The trade-off is that key filtering has to be applied at every rendering sink and each rename touches the templates or cells that legitimately rely on those variable names, whereas the 4.7.5 upgrade removes the collision entirely. No public exploit was identified at time of analysis, but exploitation leaves no ambiguity about impact - injected PHP executes with the application's privileges, and 'foundView' collisions can pull in arbitrary readable local files.

Affected VersionsENISA

CodeIgniter4 0 <4.7.5

Affected Packages

euvd codeigniter4 fix: 4.7.5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-621 (Variable Extraction Error) that escalates to CWE-95 (Improper Neutralization of Directives in Dynamically Evaluated Code / 'Eval Injection'): the affected render methods extract the caller-supplied view data array directly into the local scope that also holds internal bookkeeping variables such as the template source, the view source argument and the resolved view path. A data key that collides with one of those internals therefore overwrites it before evaluation. In the Parser, PHP tags in the original template file are escaped, but supplying a 'template' key replaces the already-trusted source string with attacker-chosen content, so PHP tags in that value execute; the original template does not need to reference {template}. In View::renderString(), an unescaped 'view' key replaces the source argument and executes PHP without the source having to reference $view. The 'foundView' key in view cell data or properties substitutes the view path after it has been validated, defeating the check and causing an unintended local file to be included (the impact depends on which files can be selected). The common exposure pattern is an application forwarding an associative array of user-supplied field names and values to setData() and then rendering, where an attacker merely adds a colliding key to an otherwise normal request. The CPE cpe:2.3:a:codeigniter4:codeigniter4:*:*:*:*:*:*:*:* is wildcarded, so the authoritative bound is the advisory range of < 4.7.5 for the composer package composer/codeigniter4/framework.

Know when Codeigniter4 gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 7.7 HIGH
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.5 HIGH

AC:H because exploitation depends on a non-default pattern of forwarding untrusted view-data keys, PR:L for the assumed application context, and C/I/A:H since PHP code execution fully compromises the app.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Dec 02, 2026 - 16:02 EUVD
CVE Published
Dec 02, 2026 - 14:37 cve.org
HIGH 7.7

DescriptionCVE.org

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.

Technical POC Analysis

CWE-95 (Improper Neutralization of Directives in Dynamically Evaluated Code / eval injection), with the advisory also tagging CWE-621 (Variable Extraction Error).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A high-severity vulnerability in CodeIgniter4 (before 4.7.5) could allow an attacker with limited privileges to execute arbitrary PHP code or include local files when applications expose certain view-data keys (template, view, foundView) to user-controlled input. While exploitation requires specific application coding patterns and no public exploits have been identified, successful attacks could lead to server compromise. Leadership should prioritize remediation for any affected applications, as the potential business impact includes data breaches and service disruption.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include validating and sanitizing all user input to prevent control over view-data keys such as 'template', 'view', and 'foundView', and ensuring that view data keys are always hardcoded and never derived from user input. Deploy web application firewalls to detect and block suspicious payloads targeting these keys.

Threat Intelligence Overview

Prevalence
Medium
popular PHP MVC framework, but common rather than ubiquitous in production
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

CVE-2026-63223 CRITICAL POC
9.8 Jul 31

Unauthenticated file upload validation bypass in the CodeIgniter4 PHP framework (versions prior to 4.7.4) lets a remote

CVE-2026-63221 CRITICAL POC
9.4 Jul 31

SQL injection in CodeIgniter4's Query Builder deleteBatch() method (versions 4.3.0 through 4.7.3) allows user-controlled

CVE-2026-63222 HIGH POC
7.5 Jul 31

Path traversal file write in the CodeIgniter4 PHP framework prior to 4.7.4 lets remote unauthenticated attackers place u

CVE-2026-142155 CRITICAL
9.3 Dec 02

Remote code execution in CodeIgniter4 before 4.7.5 stems from filename-based upload validation rules that can be tricked

CVE-2026-142150 CRITICAL
9.2 Dec 02

SQL injection in CodeIgniter4 through 4.7.5 lets unauthenticated remote attackers break out of an already-escaped string

CVE-2026-63220 MEDIUM POC
4.8 Jul 31

HTTP security header spoofing in CodeIgniter4 prior to 4.7.4 allows remote unauthenticated attackers to trick the framew

CVE-2026-142154 HIGH
8.7 Dec 02

PHP code injection in the CodeIgniter4 View Parser (versions before 4.7.5) lets users who can edit template source - for

CVE-2026-142151 HIGH
8.2 Dec 02

Information disclosure in the CodeIgniter4 CURLRequest component before 4.7.5 can leak a previously used Authorization h

CVE-2026-142152 MEDIUM
6.9 Dec 02

File upload validation bypass in CodeIgniter4 releases before 4.7.5 lets unauthenticated remote attackers slip a disallo

CVE-2026-130845 MEDIUM
5.3 Nov 17

Cross-site scripting in CodeIgniter4 before 4.7.5 allows an attacker who controls a single value rendered through the Vi

CVE-2026-142138 MEDIUM
5.3 Dec 02

Cross-site scripting in the CodeIgniter4 form helpers - parse_form_attributes(), form_input(), form_label(), form_dropdo

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy