Update Contao Core Bundle to 5.3.50 or 5.7.12 to fix privilege escalation

A privilege escalation vulnerability in the Contao core bundle allows non-admin users with group or user management rights to grant themselves permissions that lead to remote code execution on public hosts.

What changed

The advisory tracks CVE-2026-104883, published on November 20, 2026, with a high severity rating. An earlier fix added validation for the template editor module, but omitted validation for the themes field and the theme import capability. This omission allows a delegated user manager to add theme import rights to their own or a managed account, bypassing existing checks and enabling arbitrary PHP execution on the server. The vulnerability affects the composer package contao/core-bundle in versions from 5.0.0 up to 5.3.49 and versions from 5.4.0-RC1 up to 5.7.11. Patches are available in versions 5.3.50 and 5.7.12.

Who should care

You should care if you run Contao with contao/core-bundle versions greater than or equal to 5.0.0 and less than 5.3.50, or versions greater than or equal to 5.4.0-RC1 and less than 5.7.12, on any public host where non-admin users hold user or group management privileges.

What to do

  1. Identify all applications running vulnerable versions of the contao/core-bundle package.
  2. Update the contao/core-bundle package to version 5.3.50 or 5.7.12, depending on your active branch, using your project's package manager.
  3. Verify that the updated package versions are active in your deployment inventory.