Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLocate upload endpoint using is_image/mime_in/ext_in
-
DeliveryCraft filename with trailing dots concealing PHP extension
-
ExploitBypass upload validation rules
-
ExecutionFile preserved in PHP-executing web directory
-
PersistRequest stored file to run PHP
-
ImpactRemote code execution as web process
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK
2 techniques across 2 tactics: Command and Control, Persistence 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 hosting application to (1) accept uploads validated via the is_image, mime_in, or ext_in rules and (2) preserve the client-supplied filename and (3) store it in a web-accessible directory whose server configuration executes PHP. All three must hold simultaneously. The flaw is limited by the fact that CodeIgniter4's recommended patterns defeat it: storing uploads outside the public web root via $file->store(), renaming with $file->getRandomName(), or disabling script execution in the upload directory each prevent exploitation, so applications following the framework's documented guidance are not affected. No authentication or user interaction is needed against a vulnerable configuration (PR:N/UI:N in the supplied vector), making applications that retain original filenames in executable paths remotely and unauthenticated-exploitable. |
| Impact | Multiple signals converge on elevated but conditional risk. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) with full vulnerable-system impact (VC:H/VI:H/VA:H) scores 9.3 and the vuln.today priority is 'act_now', reflecting that successful exploitation yields remote code execution reachable over the network without privileges or user interaction. However, the description imposes a material real-world precondition that the raw CVSS does not capture: exploitation only works 'when applications keep client-supplied filenames in a web directory that executes PHP' - a deployment/coding pattern that CodeIgniter4's own documentation advises against. This is the central tension: the framework flaw is network-reachable and unauthenticated, but whether a given installation is actually exploitable depends on application-level file-handling choices beyond the attacker's control, so the AT:N/AC:L vendor rating arguably understates the conditions required. No EPSS score, KEV listing, or confirmed working exploit code is present in the input; the references are vendor/coordinator advisories (GHSA, VulnCheck), not proof-of-concept exploits. Net assessment: a genuine high-priority patch item for teams running affected CodeIgniter4 apps that preserve client filenames in executable web paths, but not evidence of mass active exploitation - treat as 'patch promptly per the act_now decision' rather than 'confirmed in-the-wild emergency.' |
| Exploit ScenarioDerived | A remote, unauthenticated attacker targets a CodeIgniter4 application that validates uploads with is_image, mime_in, or ext_in and preserves the client-supplied filename in a web-accessible, PHP-executing directory. The attacker submits a file whose name uses trailing dots to conceal a PHP extension, or places a PHP extension before the final image extension, bypassing the validation rules; they then request the stored file's URL to execute arbitrary PHP on the server. No public exploit code is identified in the sources, though two related CVE advisories (CVE-2026-63223, CVE-2026-63220) detail the same bypass classes. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Remote code execution in CodeIgniter4 before 4.7.5 stems from filename-based upload validation rules that can be tricked: is_image and mime_in accept names whose trailing dots conceal a PHP extension, and is_image, mime_in and ext_in all accept a PHP extension placed ahead of the final image extension. Unauthenticated remote attackers (PR:N/UI:N) can submit such a file, but code execution only results when the receiving application preserves the client-supplied filename, stores it in a web-accessible directory, and the server configuration executes PHP there - the independent assessment rates attack complexity high precisely because all three deployment conditions must hold at once, and recommended CodeIgniter4 patterns (store() outside the web root, getRandomName()) defeat it. The priority label is act now; no public exploit code has been identified at time of analysis.
RemediationAI
Vendor-released patch: upgrade to CodeIgniter4 v4.7.5 or later. If the upgrade cannot be applied immediately, the vendor documents three workarounds, each with a trade-off: store uploads outside the public web root, preferably via $file->store(), which removes web reachability but requires an application-side download/serving path; if uploads must remain public, disable script execution in the upload directory and move files with $file->move($path, $file->getRandomName()), which discards the original filename and may break user-facing naming or downstream references to it; if client filenames must be preserved, reject trailing dots and PHP extensions in any dot-separated part of the filename before saving, which adds custom validation logic that must be maintained alongside framework updates. The authoritative guidance is in the advisory at https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-4hwf-v4mp-hf6c, and the related fixes for CVE-2026-63223 and CVE-2026-63220 should be reviewed at the same time since they cover the sibling rule bypasses.
Affected VersionsENISA
Affected Packages
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 issue is CWE-434 (Unrestricted Upload of File with Dangerous Type) in the CodeIgniter4 framework's UploadedFile validation layer, distributed as the Composer package composer/codeigniter4/framework and mapped by CPE cpe:2.3:a:codeigniter4:codeigniter4:*:*:*:*:*:*:*:* for every release below 4.7.5. The is_image and mime_in rules, which inspect the supplied filename when validating an upload, can be satisfied by a name whose trailing dots hide a PHP extension, and both those rules plus ext_in can be satisfied when a PHP extension appears before the final image extension. Because the rules reason about the name rather than guaranteeing a safe on-disk name, the framework's verdict does not reflect what a PHP-enabled web server may later resolve the file to; the practical outcome therefore depends on how the hosting server maps filenames to handlers and on whether the application writes the original client name into an executable path. The flaw is a validation-logic weakness rather than a memory-safety bug, so the trigger path is the upload request itself once a vulnerable configuration is in place; the assessment's AC:H reflects the deployment preconditions (vulnerable rule used, client filename preserved, PHP execution enabled in the upload directory) rather than attacker-controlled grooming.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network-reachable RCE with no attacker privileges (PR:N/UI:N), but AC:H because exploitation depends on an application preserving client filenames in a PHP-executing web directory - a condition beyond the attacker's control.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
CodeIgniter4 before 4.7.5 has an upload validation bypass: the is_image and mime_in rules accept filenames whose trailing dots conceal a PHP extension, and these rules and ext_in accept a PHP extension before the final image extension. Attackers can upload such files to achieve remote code execution when applications keep client-supplied filenames in a web directory that executes PHP.
Technical POC Analysis
Evidence note: the supplied advisory does not include a patch diff, commit, or CVE ID.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A critical remote code execution vulnerability (CVE-2026-142155, CVSS 9.3) affects CodeIgniter4 before version 4.7.5. The flaw could allow unauthenticated attackers to upload malicious files that, under certain deployment configurations, lead to code execution. However, exploitation requires specific conditions: the application must preserve client-supplied filenames, store uploads in a web-accessible directory, and have PHP execution enabled there. Leadership should prioritize remediation for internet-facing applications built on CodeIgniter4, as successful exploitation could lead to full system compromise.
No vendor-released patch identified at time of analysis; interim mitigations include ensuring uploaded files are stored outside the web root, using randomized filenames (e.g., getRandomName()), and disabling PHP execution in upload directories. Additionally, deploy WAF rules to block suspicious filenames with multiple extensions or trailing dots, and restrict file upload capabilities to trusted users where possible.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
More in Codeigniter4
View allUnauthenticated file upload validation bypass in the CodeIgniter4 PHP framework (versions prior to 4.7.4) lets a remote
SQL injection in CodeIgniter4's Query Builder deleteBatch() method (versions 4.3.0 through 4.7.3) allows user-controlled
Path traversal file write in the CodeIgniter4 PHP framework prior to 4.7.4 lets remote unauthenticated attackers place u
SQL injection in CodeIgniter4 through 4.7.5 lets unauthenticated remote attackers break out of an already-escaped string
HTTP security header spoofing in CodeIgniter4 prior to 4.7.4 allows remote unauthenticated attackers to trick the framew
PHP code injection in the CodeIgniter4 View Parser (versions before 4.7.5) lets users who can edit template source - for
Information disclosure in the CodeIgniter4 CURLRequest component before 4.7.5 can leak a previously used Authorization h
PHP code execution and unintended local file inclusion in CodeIgniter4 before 4.7.5 occur when view data is extracted in
File upload validation bypass in CodeIgniter4 releases before 4.7.5 lets unauthenticated remote attackers slip a disallo
Cross-site scripting in CodeIgniter4 before 4.7.5 allows an attacker who controls a single value rendered through the Vi
Cross-site scripting in the CodeIgniter4 form helpers - parse_form_attributes(), form_input(), form_label(), form_dropdo
EUVD-2026-141463
GHSA-q5xr-c38q-hfh2
NVD
CVE.org
Vulnrichment
Exploit-DB