CVE-2026-107842 Contao: Protected page content is disclosed to anonymous visitors after contao.search.index_protected is disabled

Medium 5.3 Published Updated

Disabling protected page indexing in Contao CMS leaks protected page titles and snippets to anonymous users via search results.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-107842?

CVE-2026-107842 is a medium-severity vulnerability in contao, published on 9 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Contao is an Open Source CMS. From version 4.0.0 until 5.3.50 and 5.7.12, ModuleSearch can disclose protected page titles, URLs, and indexed context snippets to unauthenticated visitors when contao.search.index_protected is changed from enabled to disabled. Authorization metadata is stored per row in tl_search, but disabling the setting removes the protected-row filter without deleting rows indexed while protection was enabled. The protected pages continue to return an authorization response, so this issue exposes search metadata and indexed text rather than bypassing page access. This issue is fixed in versions 5.3.50 and 5.7.12.

Weakness: CWE-200

Which versions are affected by CVE-2026-107842?

4 open source packages ship an affected version, including contao/core-bundle.

PackageAffectedFixed in
contao/core-bundle PackagistFrom 4.0.05.3.50
contao/core-bundle PackagistFrom 4.0.05.3.50
contao/core-bundle PackagistFrom 5.4.0-RC15.7.12
contao/core-bundle PackagistFrom 5.4.0-RC15.7.12

How do I fix CVE-2026-107842?

Upgrade contao/core-bundle to a fixed version for your release line: 5.3.50 or 5.7.12.

Is CVE-2026-107842 being exploited?

There is no known exploitation of CVE-2026-107842 in the wild and no public exploit code.

Sources

Also known as GHSA-x2rp-9qf7-2fmq.

Is CVE-2026-107842 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free