原始 OSV JSON
{
"id": "GHSA-mmj4-63m4-r6h5",
"aliases": [
"CVE-2026-63223"
],
"details": "### Impact\nThis is an unsafe file upload validation vulnerability that can lead to remote code execution in vulnerable application configurations.\n\nApplications are impacted when they:\n- validate uploads using `is_image` or `mime_in` without an independent safe extension check, such as `ext_in` on patched versions\n- save uploaded files using the client-supplied filename\n- place uploads in a web-accessible directory where PHP files can execute\n\n### Patches\nUpgrade to v4.7.4 or later.\n\n### Workarounds\n- Save uploads outside the public web root, preferably under `writable/uploads`.\n- Use `$file->store()` or `$file->move($path, $file->getRandomName())` instead of preserving the original client filename.\n- Disable script execution in any public upload directory.\n- Manually verify the client filename extension before moving the file.\n- For image uploads, reject files when `$file->getClientExtension()` is not an allowed image extension.\n- For exact MIME-type validation, reject files when `$file->getClientExtension()` does not match `$file->guessExtension()`.",
"summary": "CodeIgniter: Uploaded file extension validation bypass in `is_image` and `mime_in` rules",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.7.4"
}
]
}
],
"package": {
"name": "codeigniter4/framework",
"ecosystem": "Packagist"
}
}
],
"modified": "2026-08-07T18:24:21Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"published": "2026-08-07T18:24:21Z",
"references": [
{
"url": "https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-mmj4-63m4-r6h5",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-63223",
"type": "ADVISORY"
},
{
"url": "https://github.com/codeigniter4/CodeIgniter4/commit/b6e9a4fa1dca2df3d3f261bdf61532df8c6420aa",
"type": "WEB"
},
{
"url": "https://github.com/codeigniter4/CodeIgniter4",
"type": "PACKAGE"
},
{
"url": "https://github.com/codeigniter4/CodeIgniter4/releases/tag/v4.7.4",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-434"
],
"severity": "CRITICAL",
"github_reviewed": true,
"nvd_published_at": "2026-07-31T06:16:32Z",
"github_reviewed_at": "2026-08-07T18:24:21Z"
}
}