Skip to content
FlawDB
Sign in

CVE-2026-104883

HIGH 7.2

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

Also known as GHSA-r9qp-pqx5-8369

Mitigation

  • Upgrade contao/core-bundle to one of 5.3.50, 5.7.12 (or later in the same release line).

Who should check

  • Projects that depend on Packagist package contao/core-bundle (>= 5.0.0, < 5.3.50)

Vulnerability facts

Affected
contao/core-bundle >= 5.0.0, < 5.3.50
Fixed in
5.3.50, 5.7.12
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
7.2 (v3.1, GitHub)CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: High
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
CWE
CWE-94, CWE-266
Published
Modified

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 PHP-capable templates permit server-side code execution). 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): 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 `tpl_editor` (blocked by the 5.7.3 voter). 2. As that non-admin, edit a group/account: add `themes` to the modules field and `theme_import` to the themes field (both accepted - only `tpl_editor` is blocked). Re-authenticate. ## Impact A delegated user/group manager (a role explicitly not trusted with template/code access) escalates to arbitrary PHP execution on the server, fully compromising the installation. This bypasses the exact protection the 5.7.3 `tpl_editor` fix introduced. ## Credits This security vulnerability was found by @HDWSec

Affected and fixed versions

Package / productAffectedFixedSource
Packagist contao/core-bundle>= 5.0.0, < 5.3.505.3.50, 5.7.12ghsa

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-104883. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-104883.md
Affected: contao/core-bundle >= 5.0.0, < 5.3.50
Fixed in: 5.3.50, 5.7.12

Steps:
1. Search this machine and project for contao/core-bundle (Packagist): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

Technologies

References

FAQ

Is CVE-2026-104883 being exploited?

There is no confirmed exploitation: CVE-2026-104883 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

How serious is CVE-2026-104883?

High: CVSS 7.2 (v3.1, scored by GitHub). Remote, login needed.

Which versions are affected by CVE-2026-104883?

contao/core-bundle >= 5.0.0, < 5.3.50.

Is there a fix for CVE-2026-104883?

Yes. Fixed in 5.3.50, 5.7.12. Upgrade contao/core-bundle to one of 5.3.50, 5.7.12 (or later in the same release line).

How do I check if I'm affected by CVE-2026-104883?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

See all
Vulnerabilities, newest first
SeverityIdentifier / vulnerabilityTechnologySignalsAge
MEDIUM 5.4CVE-2026-104884

contao/core-bundle: Cross-site scripting in the frontend search results

Composer packages
MEDIUM 6.5CVE-2026-104882

contao/core-bundle: Improper access control in the CSV import wizard

Composer packages
Sponsors