CodeIgniter4
CodeIgniter: Uploaded file extension validation bypass in is_image and mime_in rules
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 4.7.4
Fixed in 4.7.4
Mitigation
Upgrade CodeIgniter4 to 4.7.4 or later.
References
- Vendor advisory github.com/codeigniter4/CodeIgniter4/security/…
- Patch github.com/codeigniter4/CodeIgniter4/commit/b6…
- Release notes github.com/codeigniter4/CodeIgniter4/releases/…
Timeline
Days relative to CVE publicationFirst public PoC 3 days after publication; not in CISA KEV. First PoC: imbas007/CVE-2026-63223-POC (created 3 Aug 2026, found by us: backfilled).
PoC repositories
Found on GitHub.3 PoCs
PoCs 3
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| imbas007/CVE-2026-63223-POC | 3 Aug 2026 +3 d | 4 | PoC |
| shinthink/CVE-2026-63223 | 4 Aug 2026 +4.1 d | 2 | PoC |
| myeongji1/cve-2026-63223-ctf | 14 Oct 2026 +75 d | 0 | PoC
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 3 PoC reposPOST /upload/avatar
- Body markers
avatar=@evil.php;type=image/gifname="avatar"inmultipart/form-data- Ports
- 80, 8080, 10002
- Seen in
- 3 repos: imbas007/CVE-2026-63223-POC, myeongji1/cve-2026-63223-ctf, shinthink/CVE-2026-63223
- Evidence
- imbas007/CVE-2026-63223-POC/README.md:168 myeongji1/cve-2026-63223-ctf/exploit/exploit.py:11 shinthink/CVE-2026-63223/README.md:173
GET /uploads/evil.php
- Query
c=id- Ports
- 8080
- Seen in
- 2 repos: imbas007/CVE-2026-63223-POC, shinthink/CVE-2026-63223
- Evidence
- imbas007/CVE-2026-63223-POC/README.md:171 shinthink/CVE-2026-63223/README.md:176
GET /uploads/shell.php
- Ports
- 80, 8080, 10002
- Seen in
- 1 repo: myeongji1/cve-2026-63223-ctf
- Evidence
- myeongji1/cve-2026-63223-ctf/WRITEUP.md:40 myeongji1/cve-2026-63223-ctf/exploit/exploit.py:17
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/upload/avatar(?:[?#].*)?$
(?i)^/uploads/evil\.php\?(?:.*&)?c=id
(?i)^/uploads/shell\.php(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [80,8080,10002] (msg:"GG PoC-Monitor CVE-2026-63223 codeigniter4 CodeIgniter4 exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/upload/avatar"; http.request_body; content:"avatar=@evil.php|3b|type=image/gif"; http.request_body; content:"name=|22|avatar|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-63223; classtype:web-application-attack; sid:9797687; rev:1;)
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2026-63223 codeigniter4 CodeIgniter4 exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/uploads/evil.php"; http.uri; content:"c=id"; reference:url,poc.griffinguard.io/cve/CVE-2026-63223; classtype:web-application-attack; sid:9092835; rev:1;)
alert http any any -> $HOME_NET [80,8080,10002] (msg:"GG PoC-Monitor CVE-2026-63223 codeigniter4 CodeIgniter4 exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/uploads/shell.php"; reference:url,poc.griffinguard.io/cve/CVE-2026-63223; classtype:web-application-attack; sid:9354413; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: codeigniter4 CodeIgniter4 exploit attempt (CVE-2026-63223)
id: gg-pocmon-cve-2026-63223-9797687
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-63223. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-63223
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/upload/avatar'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.63223
title: codeigniter4 CodeIgniter4 exploit attempt (CVE-2026-63223)
id: gg-pocmon-cve-2026-63223-9092835
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-63223. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-63223
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/uploads/evil.php'
cs-uri-query|contains|all:
- 'c=id'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.63223
title: codeigniter4 CodeIgniter4 exploit attempt (CVE-2026-63223)
id: gg-pocmon-cve-2026-63223-9354413
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-63223. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-63223
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/uploads/shell.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.63223