All vulnerabilities

Servers and applications

CVE-2026-104883

Non-admin users can self-grant permissions that implicitly make them administrators

Severity
High 8.8
Published
25 Aug 2026
Last changed
2 Oct 2026
Added to UpHeron
3 Nov 2026
Fixed in
5.3.50
Weakness
Code injection (CWE-94)Improper privilege management (CWE-269)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Also known as
GHSA-r9qp-pqx5-8369
Sources
Project advisories (GitHub)

Description

Commit 2b83a60f7763 (5.7.3) hardened the template editor: it added TemplateEditorModuleVoter + CheckTemplateEditorSaveListener so a non-admin cannot self-grant the tpl_editor backend MODULE (editable .html5 templates = PHP = RCE). That voter supports ONLY the modules field and the literal value tpl_editor.

The equally RCE-capable theme_import capability lives in a DIFFERENT field - the themes checkbox field (tl_user_group.php:98-105 options include theme_import; identical on tl_user.php:248-253) - which has NO save_callback and NO voter. TemplateEditorModuleVoter is the only DC voter registered for tl_user_group, and it does not cover the themes field. So a delegated user manager can add theme_import to their own (or a managed) account.

Live repro (Contao 5.7.9):

  • 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 tpl_editor (blocked by the 5.7.3 voter).
From contao/contao's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
ContaoServers and applications · github:contao/contao
  • From 5.0.0 before 5.3.50

About Contao

Content management system

From Wikidata, CC0 1.0.
Share of all websites
0.1%W3Techs, Nov 2026
Monthly downloads (Packagist)
43,303Packagist, 15 Nov 2026
Total downloads (Packagist)
1,787,510Packagist, 15 Nov 2026
GitHub stars
454GitHub, 15 Nov 2026
Forks
180GitHub, 15 Nov 2026
License
GNU Lesser General Public LicenseWikidata
Written in
PHPWikidata
First released
2006Wikidata
First published on GitHub
15 Aug 2018GitHub

Release lines

ReleaseLatestSecurity fixes
6.06.0.6Until 14 Feb 2027
5.7 (LTS)LTS5.7.17Until 14 Feb 2030
5.65.6.11Ended 14 Feb 2026
5.55.5.16Ended 14 Aug 2025
5.45.4.14Ended 14 Feb 2025
5.3 (LTS)LTS5.3.54Until 14 Feb 2028

From endoflife.date.

References