Skip to main content

CodeIgniter EUVDEUVD-2026-51399

| CVE-2026-63223 CRITICAL
Unrestricted Upload of File with Dangerous Type (CWE-434)
2026-07-31 GitHub_M GHSA-mmj4-63m4-r6h5
9.8
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Identify unauthenticated upload endpoint
  2. Delivery
    Submit polyglot file named shell.php passing is_image/mime_in
  3. Exploit
    Framework stores file under client filename in web root
  4. Execution
    Request /uploads/shell.php to execute PHP
  5. Impact
    Achieve remote code execution as web user

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 an application that (1) validates uploads using the is_image or mime_in rule as the only content gate, with NO independent safe-extension check such as ext_in; (2) saves the uploaded file using the client-supplied filename rather than a server-generated name; and (3) stores uploads in a web-accessible directory where the server is configured to execute PHP. The attacker must be able to reach the upload endpoint but needs no authentication (CVSS PR:N) and no user interaction (UI:N). Exploitation is LIMITED by the fact that none of these three conditions are the framework's default behavior - they reflect specific application design choices - so a CodeIgniter4 app that renames files, stores them outside the web root, disables PHP execution in the upload path, or already uses ext_in is not exploitable even on a pre-4.7.4 version.

Impact

The published CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, 9.8) treats this as trivially exploitable network RCE, but that rating understates the real precondition burden: exploitation is not against a default install of the framework, but against applications that (1) rely on is_image/mime_in as their only upload gate, (2) save files under the client-supplied name, and (3) place them in a script-executable web directory. That is a specific and avoidable coding pattern, which is why an assessed AC:H is more honest than the vendor's AC:L. No EPSS score, KEV entry, or SSVC decision data was provided, and no public exploit is identified - so despite the 9.8 headline, this reads as a high-impact-but-conditionally-exploitable framework hardening fix rather than evidence of active, widespread exploitation. Where a vulnerable app pattern does exist, however, impact is genuinely full RCE and the priority is real. Key missing signals: EPSS and any exploitation telemetry are absent, so exploitation likelihood cannot be quantified.

Exploit ScenarioDerived

An attacker targets a CodeIgniter4 site that accepts avatar or document uploads validated only with is_image or mime_in and stores them under the original filename in /public/uploads/. The attacker submits a file named 'shell.php' whose bytes form a valid GIF (a polyglot) or otherwise satisfy the content/MIME check, the framework accepts it, and the attacker then requests /uploads/shell.php to execute their PHP payload as the web server user. No public exploit code is currently identified, and the network attack vector with no required user interaction makes the vulnerable pattern straightforward to weaponize once located.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
1 PoC candidate (unverified) Patch available 0.5% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 31, 2026

Unauthenticated file upload validation bypass in the CodeIgniter4 PHP framework (versions prior to 4.7.4) lets a remote attacker upload executable PHP content by exploiting that the is_image and mime_in strict validation rules never enforced a safe client-supplied filename extension. Applications are affected only when they validate uploads solely with is_image or mime_in (without an independent extension check such as ext_in), persist files under the attacker-controlled client filename, and store them in a web-accessible, script-enabled directory. There is no public exploit identified at time of analysis and the flaw is not on the CISA KEV list; the upstream fix (commit b6e9a4f, released as v4.7.4) adds client-extension consistency checks.

RemediationAI

Vendor-released patch: 4.7.4 - upgrade the codeigniter4/codeigniter4 dependency to 4.7.4 or later (composer update), which makes is_image and mime_in reject filenames whose client extension is non-image or mismatched with the detected content. Review the advisory at https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-mmj4-63m4-r6h5 and the patch at https://github.com/codeigniter4/CodeIgniter4/commit/b6e9a4fa1dca2df3d3f261bdf61532df8c6420aa. If you cannot upgrade immediately, add an independent extension allowlist to affected upload rules using ext_in (the mechanism the patch relies on) so validation no longer trusts is_image/mime_in alone; this is low-risk and closes the core gap. As additional compensating controls, stop saving uploads under the client-supplied filename - generate server-side random names and strip/normalize extensions - and move the upload storage directory outside the web root or disable PHP execution in it (for Apache, an .htaccess 'php_admin_flag engine off' or removing the PHP handler; for Nginx, avoid passing that path to the PHP-FPM location). The trade-off of renaming files is that any code relying on original filenames must be updated, and disabling script execution in the upload path must be verified not to break legitimate dynamic content served from that directory.

Affected VersionsENISA

CodeIgniter4 < 4.7.4

Affected Packages

composer codeigniter4/framework fix: 4.7.4
euvd codeigniter4 fix: 4.7.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in composer, euvd

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

Technical ContextAI · show details

CodeIgniter4 is a widely used full-stack PHP web framework. The weakness is CWE-434 (Unrestricted Upload of File with Dangerous Type). The affected code is in system/Validation/StrictRules/FileRules.php: the is_image rule confirmed only that file content resembled an image, and mime_in confirmed only the detected/declared MIME type, but neither rule cross-checked the client-supplied filename extension. Because these rules were commonly assumed to be sufficient, a file whose content passed the image/MIME check but whose client filename ended in .php (e.g. 'shell.php' carrying GIF bytes, or a polyglot) would validate successfully. When such a file is then written to disk using the original client filename inside a directory where the web server executes PHP, the payload becomes directly requestable and executable. CPE cpe:2.3:a:codeigniter4:codeigniter4:*:*:*:*:*:*:*:* covers the framework package. The patch introduces hasInvalidImageClientExtension() (rejects non-empty extensions that do not map to an image type) for is_image and hasMismatchedClientExtension() (rejects extensions that disagree with the guessed content extension) for mime_in.

Know when PHP 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 (GitHub_M) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.1 HIGH

Network and unauthenticated (AV:N/PR:N/UI:N), but AC:H because exploitation depends on a specific non-default app pattern (is_image/mime_in only, client filename saved, script-enabled web dir); successful exploitation yields full RCE so C/I/A:H.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Jul 31, 2026 - 06:15 EUVD
CVE Published
Jul 31, 2026 - 04:10 cve.org
CRITICAL 9.8

DescriptionCVE.org

CodeIgniter is a PHP full-stack web framework. Prior to 4.7.4, the is_image and mime_in upload validation rules do not independently enforce a safe client filename extension, allowing a remote attacker to upload executable content when an application preserves the client filename and stores uploads in a web-accessible script-enabled directory. Applications are impacted when they validate uploads using is_image or mime_in without an independent safe extension check (such as ext_in on patched versions), save uploaded files using the client-supplied filename, and place uploads in a web-accessible directory where PHP files can execute. This issue is fixed in version 4.7.4.

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

CodeIgniter4 framework versions prior to 4.7.4 contain a critical unauthenticated file upload vulnerability allowing remote attackers to execute arbitrary code on affected systems. Organizations running CodeIgniter4 applications face immediate risk of complete system compromise without authentication barriers. This vulnerability requires urgent patching to version 4.7.4 or later.

Business Impact: Severe
Compensating Controls

Apply vendor patch: CodeIgniter4 v4.7.4 or later.

Threat Intelligence Overview

EPSS Score
0.5%
Top 60% exploitable
Prevalence
High
CodeIgniter4 is a mainstream, widely deployed PHP web framework
Threat Intel
1
1 sources
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub VulDB

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 CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
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
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

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

Attack Technique

Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

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