Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.5%top 60%

Framework: CodeIgniter: Uploaded file extension validation bypass in `is_image` and `mime_in` rules (CVE-2026-63223)

0
Critical
Published: 08/07/2026 (08/07/2026, 18:24:21 UTC)
Source: GCVE Database
Product: codeigniter4/framework

Description

A critical vulnerability in CodeIgniter 4 prior to version 4.7.4 allows unsafe file upload validation bypass when using the is_image or mime_in rules without additional safe extension checks. This can lead to remote code execution if uploaded files are saved with client-supplied filenames in web-accessible directories where PHP execution is possible. The vulnerability is addressed in version 4.7.4 and later.

CVSS v3.1

Score 9.8critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

Packagistghsa
codeigniter4/framework
Affected versions
<4.7.4

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/08/2026, 15:19:47 UTC

Technical Analysis

CVE-2026-63223 is a critical unsafe file upload validation vulnerability in the CodeIgniter 4 framework affecting versions prior to 4.7.4. Applications that rely solely on the is_image or mime_in validation rules without an independent extension check (such as ext_in on patched versions), save uploaded files using the client-supplied filename, and place uploads in web-accessible directories where PHP files can execute, are vulnerable. This can lead to remote code execution by bypassing file extension validation. The vendor has released version 4.7.4 to fix this issue.

Potential Impact

Successful exploitation can lead to remote code execution, compromising confidentiality, integrity, and availability of affected systems. The vulnerability arises from improper validation of uploaded file extensions and unsafe handling of filenames, allowing attackers to upload malicious PHP files that execute on the server.

Mitigation Recommendations

Upgrade to CodeIgniter version 4.7.4 or later, where this vulnerability is fixed. As workarounds, save uploaded files outside the public web root (e.g., under writable/uploads), avoid preserving client-supplied filenames by using $file->store() or $file->move() with random names, disable script execution in public upload directories, manually verify client filename extensions before moving files, reject files with disallowed image extensions for image uploads, and ensure MIME-type validation matches the client extension.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-mmj4-63m4-r6h5
Osv Schema Version
1.4.0
Aliases
["CVE-2026-63223"]
Ecosystems
["Packagist"]
Database Specific Severity
CRITICAL
Cvss Version
3.1

Threat ID: 6a7742a8bf8831d539b08cde

Added to database: 08/08/2026, 14:52:24 UTC

Last enriched: 08/08/2026, 15:19:47 UTC

Last updated: 08/09/2026, 00:41:16 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses