CVE-2026-104883: contao/core-bundle: Non-admin users can self-grant permissions that implicitly make them administrators
Published 2026-11-20 · Updated 2026-11-21 · Also known as GHSA-r9qp-pqx5-8369
Summary
A privilege escalation vulnerability in contao/core-bundle allows non-admin users with user management permissions to self-grant the theme_import capability, bypassing previous hardening measures. Engineering and security teams using Contao 5.x should update their packages immediately.
Who is affected
Affected deployments are those running vulnerable versions of contao/core-bundle where a delegated user or group manager can modify their own or managed accounts. By adding the theme_import capability (which is not protected by the template editor voter), an attacker can achieve arbitrary PHP execution on the server and fully compromise the installation.
Exploitability
The vulnerability has a CVSS 3.1 base score of 7.2 (HIGH) with a vector of CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H, indicating it can be exploited over the network with low attack complexity requiring high privileges, but no user interaction. EPSS is not yet available, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog.
Remediation
- Upgrade contao/core-bundle to version 5.3.50 or version 5.7.12.
- Review backend user and group permissions to ensure unauthorized accounts have not self-granted theme_import or other administrative capabilities.
How to check your project
- Check the project's composer.json and composer.lock files to verify if the contao/core-bundle package version falls within the ranges introduced 5.0.0, fixed 5.3.50 or introduced 5.4.0-RC1, fixed 5.7.12.
- Inspect backend user and group configurations in Contao for unexpected assignments of the theme_import module or themes field permissions.
Automated analysis of the published advisory data, generated 2026-11-21. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| Packagist | contao/core-bundle |
>= 5.0.0, < 5.3.50 | 5.3.50 | composer require "contao/core-bundle:>=5.3.50" |
| Packagist | contao/core-bundle |
>= 5.4.0-RC1, < 5.7.12 | 5.7.12 | composer require "contao/core-bundle:>=5.7.12" |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Privileges required | High |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity | High |
| Availability | High |
FAQ
What causes the vulnerability?
The vulnerability occurs because previous hardening only protected the `tpl_editor` module using a DataContainer voter, leaving the equally RCE-capable `theme_import` capability in the `themes` field unprotected and accessible to delegated user managers.
What is the required access level to exploit this vulnerability?
An attacker needs a delegated user or group manager role (high privileges) to modify user and group permissions and add the `theme_import` capability.
What are the fixed versions for contao/core-bundle?
The fixed versions are 5.3.50 and 5.7.12.
Original advisory description
References
- WEB https://github.com/contao/contao/security/advisories/GHSA-r9qp-pqx5-8369
- WEB https://github.com/contao/contao/pull/10153
- WEB https://github.com/contao/contao/commit/211498f28d4c86484b96eb0612c1193105b79e51
- WEB https://github.com/contao/contao/commit/a58eb71ef5a7a87da9d90980579dbeb6688448b4
- WEB https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/contao/CVE-2026-104883.yaml
- WEB https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/core-bundle/CVE-2026-104883.yaml
- PACKAGE https://github.com/contao/contao
- WEB https://github.com/contao/contao/blob/a11109b60dedcbd99e32a4e8550afdadb500f2c5/CHANGELOG.md
- WEB https://github.com/contao/contao/blob/a6543f49a92187a7368f51b290179c4795386e23/CHANGELOG.md
- WEB https://github.com/contao/contao/tree/5.3.50
- WEB https://github.com/contao/contao/tree/5.7.12
Source records: GHSA-r9qp-pqx5-8369 (OSV.dev).