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

TYPO3-EXT-SA-2026-043: Multiple vulnerabilities in extension "Import & Export" (t3import_export)

It has been discovered that the extension "Import & Export" (t3import_export) is vulnerable to Unrestricted File Upload, Path Traversal, Server-Side Request Forgery and Cross-Site Scripting.



Problem Description

The pre-processors GenerateFileResource and GenerateUploadFile copy a file named in a record field into a storage. Exploitation of the following four issues requires an import that uses these pre-processors on data an attacker can influence, for example a CSV or XML feed of a third party. No TYPO3 account is required.

The target file name of the copy was not checked. An attacker could place a file with a PHP-executable name, loaded from a URL, in a public directory, which leads to remote code execution. (CVE-2026-138244)

The source of the copy was not restricted. Local files readable by PHP, such as environment or configuration files with database credentials and the encryption key, could be copied into a storage that is usually public. (CVE-2026-138245)

Any URL was loaded, including internal hosts and redirects, and the response was stored in the target storage. This allowed server-side request forgery against internal services. (CVE-2026-138246)

Files with active content, such as HTML, JavaScript or SVG, could be written into a public storage and executed in the context of the website. This leads to stored cross-site scripting against visitors and backend users. (CVE-2026-138247)

The CSV data target wrote to any path inside the project and accepted any file type. A backend administrator could write PHP files through an import or export configuration and thereby gain system maintainer privileges and execute code. This affects versions 2.x and 3.x. (CVE-2026-138248)

The console command t3import-export:convert-typoscript was available in the scheduler and wrote its output to any path. A backend administrator could write PHP files with it and thereby gain system maintainer privileges and execute code. This affects versions 3.x. (CVE-2026-138249)

Solution

Updated versions 1.1.5, 2.0.6 and 3.3.2 are available from the TYPO3 Extension Manager, Packagist and at

https://extensions.typo3.org/extension/download/t3import_export/1.1.5/zip
https://extensions.typo3.org/extension/download/t3import_export/2.0.6/zip
https://extensions.typo3.org/extension/download/t3import_export/3.3.2/zip

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

Manual actions required: Source files are now only read from allowed directories (by default fileadmin/ and var/import/) and from hosts on an allow list, which is empty by default. Imports that load files from remote hosts must be configured accordingly. Users must read the release notes for breaking changes before updating. Additionally, check public storages for unexpected files written by imports, such as PHP, HTML or SVG files.

Credits

Thanks to Dirk Wenzel for reporting this issue and for providing updated versions of the extension.

General Advice

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