
PEACH
Uma estrutura de isolamento de inquilino
CVE-2026-104883 is a privilege escalation vulnerability in Contao CMS (contao/core-bundle) that allows a delegated non-admin backend user to self-grant the theme_import capability, which enables arbitrary PHP code execution on the server. The vulnerability affects contao/core-bundle versions >=5.0.0 and <5.3.50, and >=5.4.0-RC1 and <5.7.12. It was published on August 25, 2026, by maintainer leofeyer and discovered by researcher @HDWSec. The CVSS v3.1 base score is 7.2 (High) per the GitHub Advisory Database, though the original advisory notes a score of 8.8 (High) with lower privilege requirements (GitHub Advisory, Github Advisory).
The root cause is an incomplete access control implementation (CWE-94, CWE-269, CWE-266): commit 2b83a60f7763 (version 5.7.3) introduced TemplateEditorModuleVoter and CheckTemplateEditorSaveListener to prevent non-admins from self-granting the tpl_editor backend module, but this voter only covers the modules field and the literal value tpl_editor. The equally RCE-capable theme_import capability resides in a separate themes checkbox field (tl_user_group.php:98-105 and tl_user.php:248-253) that has no corresponding save_callback or voter. Because TemplateEditorModuleVoter is the only Data Container voter registered for tl_user_group and does not cover the themes field, a delegated user manager (a non-admin with user or group module access) can freely add theme_import to their own or a managed account. Once theme_import is granted, the attacker can upload and execute arbitrary PHP via the theme import functionality (GitHub Advisory, Github Advisory).
Successful exploitation allows a delegated user/group manager — a role explicitly not trusted with template or code access — to escalate to arbitrary PHP execution on the server, fully compromising the Contao installation. This results in complete loss of confidentiality, integrity, and availability of the affected system, as the attacker gains the ability to read, modify, or delete any data, install backdoors, or pivot to other systems accessible from the server. The attack bypasses the specific protection introduced in version 5.7.3 for the tpl_editor module (GitHub Advisory).
A proof-of-concept exploit is publicly available on GitHub (googlesky/CVE-2026-104883), described as a standalone full-chain Python exploit (exploit/exploit.py) that takes a delegated user from self-granting theme_import to arbitrary PHP execution. The GitHub Security Advisory also provides a concrete, ordered attack sequence sufficient to reproduce the privilege escalation. As of the time of reporting, there is no confirmed evidence of in-the-wild exploitation, and the CVE is not listed in the CISA KEV catalog. Authentication as a backend user with delegated user/group management permissions is required (Github Advisory, Feedly).
user or group module enabled (delegated user manager role).themes to the modules field (permitted, as only tpl_editor is blocked by the voter).theme_import to the themes checkbox field. Submit the form — no voter or save_callback blocks this action.theme_import capability to upload a crafted theme archive containing a malicious PHP file. Upon import, the PHP code is executed server-side, achieving full remote code execution (GitHub Advisory, Github Advisory).tl_user_group or tl_user records and adding theme_import to the themes field; log entries for theme import actions performed by non-admin accounts.theme_import value present in the themes column of tl_user or tl_user_group for non-administrator accounts.bash, curl, wget, python) following a theme import operation.Update contao/core-bundle to version 5.3.50 or 5.7.12, which extend the voter-based access controls to cover the theme_import capability in the themes field (Github Advisory, FriendsOfPHP Advisory). As an interim workaround, restrict the user and group backend modules to fully trusted administrators only, preventing any delegated user manager from existing. Additionally, audit all existing user and group accounts to verify that no non-admin accounts have theme_import enabled in the themes field, and remove it if found.
The vulnerability was reported by security researcher @HDWSec and published by Contao maintainer leofeyer as part of a batch of security fixes in version 5.7.12 on August 25, 2026. The advisory was reviewed and added to the GitHub Advisory Database on November 20, 2026. No significant broader media coverage or notable public researcher commentary beyond the official advisory has been identified at this time (GitHub Advisory).
Origem: Este relatório foi gerado usando IA
Avaliação Gratuita de Vulnerabilidades
Avalie suas práticas de segurança em nuvem em 9 domínios de segurança para avaliar seu nível de risco e identificar lacunas em suas defesas.
Marque uma demonstração personalizada
"A melhor experiência do usuário que eu já vi, fornece visibilidade total para cargas de trabalho na nuvem."
"A Wiz fornece um único painel de vidro para ver o que está acontecendo em nossos ambientes de nuvem."
"Sabemos que se a Wiz identifica algo como crítico, na verdade é."