All reports
High

Contao affected by remote command execution through file upload

Affected versions

Affected versions
>= 5.4.0, < 5.4.3
Fixed version
5.4.3
Affected versions
>= 4.0.0, < 4.13.49
Fixed version
4.13.49
Affected versions
>= 5.0.0, < 5.3.15
Fixed version
5.3.15

Exploitation

CVE-2024-45398

Probability of exploitation in the next 30 days: 0.53%

FIRST EPSS · 2026-11-19

Description

Impact

Back end users with access to the file manager can upload malicious files and execute them on the server.

Patches

Update to Contao 4.13.49, 5.3.15 or 5.4.3.

Workarounds

Configure your web server so it does not execute PHP files and other scripts in the Contao file upload directory.

References

https://contao.org/en/security-advisories/remote-command-execution-through-file-uploads

For more information

If you have any questions or comments about this advisory, open an issue in contao/contao.

Credits

Thanks to Jakob Steeg from usd AG for reporting this vulnerability.

Links

Credits

  • usdResponsibleDisclosure