# contao/core-bundle: Non-admin users can self-grant permissions that implicitly make them administrators

High severity, published 2026-11-20. Update contao/core-bundle to the fixed version of your branch (5.3.50, 5.7.12): composer update contao/core-bundle.

Canonical URL: https://buzzphp.com/security/ghsa-r9qp-pqx5-8369 · Data from GitHub as of 2026-11-25.

| | |
| --- | --- |
| Severity | high (CVSS 7.2) |
| Published | 2026-11-20 |
| Updated | 2026-11-20 |
| CVE | [CVE-2026-104883](https://nvd.nist.gov/vuln/detail/CVE-2026-104883) |
| GHSA | [GHSA-r9qp-pqx5-8369](https://github.com/advisories/GHSA-r9qp-pqx5-8369) |
| Weakness | CWE-94, CWE-266 |

| Package | Affected versions | Fixed in |
| --- | --- | --- |
| contao/core-bundle | >= 5.0.0, < 5.3.50 or >= 5.4.0-RC1, < 5.7.12 | 5.3.50, 5.7.12 |

## What to do

Update contao/core-bundle to the fixed version of your branch (5.3.50, 5.7.12): composer update contao/core-bundle.

Check which version you run with `composer show contao/core-bundle`, and every affected package with `composer audit`.

## About this advisory

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.

## Links

- [GHSA-r9qp-pqx5-8369 on GitHub](https://github.com/advisories/GHSA-r9qp-pqx5-8369)
- [CVE-2026-104883 on the National Vulnerability Database](https://nvd.nist.gov/vuln/detail/CVE-2026-104883)
- [All Composer security advisories](https://buzzphp.com/security)
