An incomplete patch in the forbidden extensions blocklist within `config/mediable.php` allows the upload of files with the `.pht` extension. While other PHP-related extensions are blocked, the omission of `.pht` allows files to pass validation in the `verifyExtension()` function of `MediaUploader` and the `sanitizeFileName()` function of `File`. On Debian and Ubuntu systems, Apache executes `.pht` files as PHP by default via the `FilesMatch` directive. This allows an attacker to upload and execute a malicious file, leading to remote code execution with the privileges of the web server process.