---
title: "GHSA-67wg-6j7r-mqh8: Arbitrary Code Execution in TYPO3 CMS"
url: https://erroneo.us/security/ghsa/GHSA-67wg-6j7r-mqh8/
description: "GHSA-67wg-6j7r-mqh8 (critical, Composer (PHP)): Arbitrary Code Execution in TYPO3 CMS. Due to a missing file extension in the fileDenyPattern, backend user…"
type: advisory
section: "Security Digest"
date_published: 2024-06-05
date_modified: 2024-06-05
publisher: erroneo.us
author: erroneo.us Security Desk
ghsa: "GHSA-67wg-6j7r-mqh8"
license: All rights reserved. Quote with attribution and a link.
---

# GHSA-67wg-6j7r-mqh8: Arbitrary Code Execution in TYPO3 CMS

## Affected packages

- Composer (PHP) `typo3/cms` >= 7.6.0, < 7.6.22 → fixed: 7.6.22
- Composer (PHP) `typo3/cms` >= 8.0.0, < 8.7.5 → fixed: 8.7.5

## Details

Due to a missing file extension in the fileDenyPattern, backend user are allowed to upload .pht files which can be executed in certain web server setups. The new default fileDenyPattern is the following, which might have been overridden in the TYPO3 Install Tool.

## Sources

- [GitHub Advisory GHSA-67wg-6j7r-mqh8](https://github.com/advisories/GHSA-67wg-6j7r-mqh8)
- [github.com](https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/2017-09-05-4.yaml)
- [typo3.org](https://typo3.org/security/advisory/typo3-core-sa-2017-007)

---
Source page: https://erroneo.us/security/ghsa/GHSA-67wg-6j7r-mqh8/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
