Variable Extraction Error in CodeIgniter4 - #VU155856

 

Variable Extraction Error in CodeIgniter4 - #VU155856

Published: October 15, 2026


Vulnerability identifier: #VU155856
CSH Severity: Low
CVSS v4: 7.7 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-621
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary PHP code.

The vulnerability exists due to variable extraction errors in View::renderString() when extracting less-trusted view data into the same scope as internal variables. A remote user can supply a colliding view key with an unescaped PHP payload to replace the source argument to execute arbitrary PHP code.

Exploitation requires the application to allow less-trusted input to control view data keys and values. The original source need not reference $view.


Affected software

CodeIgniter4

Remediation

Install security update from vendor's website.

CodeIgniter4 - update to 4.7.5

External References

Related Security Bulletins