This is an unsafe file upload validation vulnerability that can lead to remote code execution in vulnerable application configurations.
Applications are impacted when they:
is_image or mime_in without an independent safe extension check, such as ext_in on patched versionsUpgrade to v4.7.4 or later.
writable/uploads.$file->store() or $file->move($path, $file->getRandomName()) instead of preserving the original client filename.$file->getClientExtension() is not an allowed image extension.$file->getClientExtension() does not match $file->guessExtension().{
"cwe_ids": [
"CWE-434"
],
"github_reviewed": true,
"github_reviewed_at": "2026-08-07T18:24:21Z",
"nvd_published_at": "2026-07-31T06:16:32Z",
"severity": "CRITICAL"
}