Skip to main navigation Skip to main content Skip to page footer

TYPO3-EXT-SA-2026-047: Multiple vulnerabilities in extension "Media Upload" (media_upload)

It has been discovered that the extension "Media Upload" (media_upload) is vulnerable to path traversal and unrestricted file upload.



Problem Description

The extension derives the temporary folder of an upload from an identifier supplied by the client and validated this identifier incompletely. A crafted identifier moved the upload and delete operations out of the temporary folder. Attackers could store files in, and recursively delete, any directory writable by the web server process, on every platform. (CVE-2026-138251)

The check for forbidden file extensions could be bypassed by appending a Windows NTFS alternate data stream marker to the file name. On Windows servers, this stored a PHP file in a web-accessible location and allowed remote code execution. (CVE-2026-138252)

Exploitation requires access to the upload plugin, which by default is restricted to authenticated frontend users. If the integrator cleared the setting "allowedFrontendGroups", no authentication is required and the severity increases to critical.

Solution

Update to version 4.1.3 of the extension that fixes the problem described:

https://extensions.typo3.org/extension/download/media_upload/4.1.3/zip

Users of the extension are advised to update as soon as possible.
 

Credits

Thanks to Khalil Belhaj for reporting the vulnerabilities and to Fabien Udriot for providing an updated version of the extension.

General Advice

Follow the recommendations that are given in the TYPO3 Security Guide.