CVE-2026-0859
Deserialization Vulnerability in TYPO3 Mail Spool Enables RCE
Publication date: 2026-01-13
Last updated on: 2026-01-13
Assigner: TYPO3
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| typo3 | typo3_cms | From 10.0.0 (inc) to 10.4.54 (inc) |
| typo3 | typo3_cms | From 11.0.0 (inc) to 11.5.48 (inc) |
| typo3 | typo3_cms | From 12.0.0 (inc) to 12.4.40 (inc) |
| typo3 | typo3_cms | From 13.0.0 (inc) to 13.4.22 (inc) |
| typo3 | typo3_cms | From 14.0.0 (inc) to 14.0.1 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-502 | The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
CVE-2026-0859 is a security vulnerability in TYPO3 CMS's mail file spool system where local users with write access to the mail spool directory can create malicious serialized files. These files are deserialized without proper restrictions during the mail sending process, allowing arbitrary PHP code execution on the web server. The root cause was a typo in the allowed classes list used during deserialization, which made the security restriction ineffective. The vulnerability affects multiple TYPO3 versions and was fixed by introducing a new PolymorphicDeserializer component that inspects and validates all classes in the serialized payload before deserialization, ensuring only allowed classes or interfaces are processed. If disallowed classes or syntax errors are detected, deserialization is aborted and errors are logged, preventing unsafe object injection. [1, 2, 3, 4]
How can this vulnerability impact me? :
This vulnerability can allow an attacker with local write access to the TYPO3 mail spool directory to execute arbitrary PHP code on the web server. This means the attacker could potentially take control of the web server, access sensitive data, modify website content, or perform other malicious actions within the web server's context. The impact is significant as it compromises the security and integrity of the TYPO3 installation and the underlying server environment. [2]
How can this vulnerability be detected on my network or system? Can you suggest some commands?
Detection of this vulnerability involves checking if your TYPO3 installation is using the file spool transport method for mail sending and if the affected versions are in use. You can verify the TYPO3 version and mail spool configuration by inspecting the TYPO3 configuration files, specifically looking for the setting `$GLOBALS['TYPO3_CONF_VARS']['MAIL']['transport_spool_type'] = 'file'`. Additionally, monitoring the mail spool directory for unexpected or suspicious serialized files created by local users with write access can help detect exploitation attempts. Since the vulnerability involves deserialization of malicious files during the `mailer:spool:send` command, you can check logs for errors related to deserialization failures or unexpected class names. Commands to check TYPO3 version and configuration might include: `grep 'transport_spool_type' /path/to/typo3conf/LocalConfiguration.php` and `typo3cms --version` (if CLI tool is available). Also, inspecting the spool directory permissions and contents with `ls -l /path/to/spool/directory` and searching for recently modified files with `find /path/to/spool/directory -type f -mtime -1` can be useful. However, no specific detection commands for malicious serialized payloads are provided in the resources. [2]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include updating TYPO3 CMS to a fixed version where the vulnerability is patched. The fixed versions are 10.4.55 ELTS, 11.5.49 ELTS, 12.4.41 LTS, 13.4.23 LTS, and 14.0.2 or later. This update includes the introduction of the `PolymorphicDeserializer` component that enforces strict validation of serialized mail spool messages, preventing unsafe deserialization. Additionally, ensure that local users do not have unnecessary write access to the mail spool directory to reduce the risk of crafting malicious serialized files. Follow the TYPO3 Security Guide recommendations for further hardening. If immediate updating is not possible, consider disabling the file spool transport method temporarily or restricting access to the spool directory until the patch can be applied. [2]