Loading advisory.
Loading advisory.
Contao is vulnerable to remote code execution in template closures
Backend users with precise control over the contents of template closures can execute arbitrary PHP functions that do not have required parameters.
Published 2025-11-25 18:54 UTC · Modified 2025-11-27 09:16 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| contao/core-bundle | Packagist | >= 4.0.0, < 4.13.57 >= 5.0.0-RC1, < 5.3.42 >= 5.4.0-RC1, < 5.6.5 versions 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.1.0, 4.1.0-RC1, 4.1.0-beta1, 4.1.1, 4.1.2, 4.1.3, 4.10.0, 4.10.0-RC1, 4.10.0-RC2, 4.10.0-RC3, 4.10.0-RC4, 4.10.1, 4.10.2, 4.10.3, 4.10.4 and 415 more | 4.13.57, 5.3.42, 5.6.5 | composer require 'contao/core-bundle:>=4.13.57'composer require 'contao/core-bundle:>=5.3.42'composer require 'contao/core-bundle:>=5.6.5' |
Backend users with precise control over the contents of template closures can execute arbitrary PHP functions that do not have required parameters.
Update to Contao 4.13.57, 5.3.42 or 5.6.5
Manually patch the Contao\Template::once() method.
https://contao.org/en/security-advisories/remote-code-execution-in-template-closures
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.002 on 2026-11-24 to 0.003 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.002 | first score | v2026.06.15 |
| 2026-11-26 | 0.003 | 0.002 | v2026.06.15 |