contao/core-bundle: Non-admin users can self-grant permissions that implicitly make them administrators
High severity. Published 20 November 2026. Update contao/core-bundle to the fixed version of your branch (5.3.50, 5.7.12): composer update contao/core-bundle.
Which versions are affected?
| Package | Affected versions | Fixed in |
|---|---|---|
| contao/core-bundle (opens in a new tab) | >= 5.0.0, < 5.3.50 | >= 5.4.0-RC1, < 5.7.12 | 5.3.50, 5.7.12 |
What should you do?
Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:
composer show contao/core-bundle
composer auditAdvisory details
| Severity | HighCVSS 7.2 |
|---|---|
| Published | |
| Updated | |
| CVE | CVE-2026-104883 (opens in a new tab) |
| GHSA | GHSA-r9qp-pqx5-8369 (opens in a new tab) |
| Weakness | CWE-94, CWE-266 |
What the advisory says
Commit 2b83a60f7763 (5.7.3) hardened the template editor: it added TemplateEditorModuleVoter + CheckTemplateEditorSaveListener so a non-admin cannot self-grant the tpleditor backend module (editable PHP-capable templates permit server-side code execution). That voter supports only the modules field and the literal value tpleditor.
The equally RCE-capable themeimport capability lives in a different field - the themes checkbox field (tlusergroup.php:98-105 options include themeimport; identical on tluser.php:248-253) - which has no savecallback and no voter. TemplateEditorModuleVoter is the only DC voter registered for tlusergroup, and it does not cover the themes field.
Source: GHSA-r9qp-pqx5-8369 (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .
Other recent advisories for this package
- contao/core-bundle: Cross-site scripting in the frontend search results (opens in a new tab) (medium, 20 November 2026)
- contao/core-bundle: Improper access control in the CSV import wizard (opens in a new tab) (medium, 20 November 2026)
- Contao: Protected page content is disclosed to anonymous visitors after contao.search.index_protected is disabled (opens in a new tab) (medium, 9 October 2026)
- Contao: Improper access control in the preview links module (opens in a new tab) (medium, 9 October 2026)
- Contao: Path traversal in the images controller (opens in a new tab) (medium, 9 October 2026)