CVE-2026-109618 and CVE-2026-109619
Critical exploits (RCE) have been announced for all current PHP versions:
Can you rebuild and publish the Docker image with the fixed version?
A critical heads-up regarding rebuilding the Docker image:
In the current Dockerfile:
FROM php:7.4-cli-alpine
Because PHP 7.4 reached official End-of-Life (EOL) in November 2022, Docker Hub will never release an updated php:7.4-cli-alpine image.
Therefore, simply triggering a rebuild of the Dockerfile will pull the same unpatched PHP 7.4 base image, leaving tinyfilemanager:master vulnerable to CVE-2026-109618 and CVE-2026-109619 (CVSS 9.2 unauthenticated RCE).
Here is how to properly address this for TinyFileManager:
1. Immediate Mitigation for Running Containers
If you have active TinyFileManager containers running:
Because TinyFileManager starts PHP via php -S 0.0.0.0:80, you can add a configuration drop-in inside the container:
docker exec -it <container_name> sh -c "echo 'session.upload_progress.enabled = 0' > /usr/local/etc/php/conf.d/disable-upload-progress.ini"
Then restart the container (docker restart <container_name>).
(Note: TinyFileManager manages file uploads using its own chunking / standard multipart logic; disabling PHP's internal session upload progress handler does not affect file uploads).
2. Updating the Dockerfile to an Active Branch (PHP 8.2+)
TinyFileManager is compatible with PHP 8.2+. Bumping the base image in Dockerfile to an actively maintained branch will pull the official patched release (8.2.35):
FROM php:8.2-cli-alpine
3. If Retaining the PHP 7.4 Docker Image
If the project wishes to keep shipping a PHP 7.4 image for users running in legacy environments:
- Upstream PHP only released source branches without compiled packages.
- Furthermore, because TinyFileManager's primary function is uploading files, the minimal upstream backport has a known side-effect where worker state resets can cause subsequent multipart file uploads (
$_FILES) to fail or crash. - An enhanced community backport patch specifically created for legacy/EOL PHP (5.6 through 8.1) is available in Anton-Barinov/php2shell-patches:
enhanced-php-7.4.33-cve-2026-109618-109619.patchIt fixes both the OOM longjmp cleanup and persistent worker UAF vulnerabilities while ensuring multipart uploads ($_FILES) and session data remain 100% operational.