CVE-2026-15305: TYPO3 CMS - Unrestricted File Upload in Form Framework
Problem
Users were able to upload files with arbitrary MIME types to forms using FileUpload or ImageUpload elements with allowedMimeTypes configured - uploading PHP files was not possible. The restriction was not enforced server-side because the MimeTypeValidator was registered during form building before concrete form definition properties were applied, resulting in the validator never being added to the processing pipeline.
Solution
Update to TYPO3 version 14.3.5 LTS that fixes the problem described.
Credits
Thanks to Sébastien Convers for reporting this issue, and to Josua Vogel and Oliver Hader for fixing it.
References
- github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms-form/CVE-2026-15305.yaml
- github.com/TYPO3/typo3/commit/817ad41cc9dd28aac0fc4d0fe16fc25d46dd554a
- github.com/TYPO3/typo3/commit/cfda21050398eb145211a4fa6f9988f10e43e10b
- github.com/TYPO3/typo3/security/advisories/GHSA-mfqj-cqv3-h7xw
- github.com/advisories/GHSA-mfqj-cqv3-h7xw
- news.typo3.com/security/advisory/typo3-core-sa-2026-020
- nvd.nist.gov/vuln/detail/CVE-2026-15305
- typo3.org/security/advisory/typo3-core-sa-2026-020
Code Behaviors & Features
Detect and mitigate CVE-2026-15305 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →