contao/core-bundle: Non-admin users can self-grant permissions that implicitly make them administrators
CVE-2026-104883
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. So a delegated user manager can add themeimport to their own (or a managed) account. Live repro (Contao 5.7.9): 1. As admin, create a non-admin backend group with the user (or group) module (a delegated user manager), and a user in it. Confirm the user cannot access tpleditor (blocked by the 5.7.3 voter). 2. As that non-admin, edit a group/account: add themes to the modules field and themeimport to the themes field (both accepted - only tpleditor is blocked). Re-authenticate. Impact A delegated user/group manager (a…
Assessment
- CVSS
- 7.2 (v3.1)
- Severity
- High
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 20 November 2026
- Last updated
- 20 November 2026
- Affected
- contao/core-bundle
- Weakness
- CWE-266, CWE-94
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
At the source
References
- https://github.com/contao/contao/security/advisories/GHSA-r9qp-pqx5-8369
- https://github.com/contao/contao/pull/10153
- https://github.com/contao/contao/commit/211498f28d4c86484b96eb0612c1193105b79e51
- https://github.com/contao/contao/commit/a58eb71ef5a7a87da9d90980579dbeb6688448b4
- https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/contao/CVE-2026-104883.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/core-bundle/CVE-2026-104883.yaml
- https://github.com/contao/contao/blob/a11109b60dedcbd99e32a4e8550afdadb500f2c5/CHANGELOG.md
- https://github.com/contao/contao/blob/a6543f49a92187a7368f51b290179c4795386e23/CHANGELOG.md
- https://github.com/contao/contao/tree/5.3.50
- https://github.com/contao/contao/tree/5.7.12
- https://github.com/advisories/GHSA-r9qp-pqx5-8369
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-104883