CVE-2026-107842: Contao: Protected page content is disclosed to anonymous visitors after contao.search.index_protected is disabled
ModuleSearch decides whether to filter protected pages out of search results based on the current value of contao.search.index_protected, but the authorisation data lives per row in tl_search. Turning the setting off removes
the filter without removing the rows, so protected pages that were indexed while it was on are returned to unauthenticated visitors such as title, URL and context snippet, even though the pages themselves still answer 401.
References
- github.com/advisories/GHSA-x2rp-9qf7-2fmq
- github.com/contao/contao/commit/572686a113bca60f92cf2d0496cf3a74d0b6b457
- github.com/contao/contao/releases/tag/5.3.50
- github.com/contao/contao/releases/tag/5.7.12
- github.com/contao/contao/security/advisories/GHSA-x2rp-9qf7-2fmq
- nvd.nist.gov/vuln/detail/CVE-2026-107842
Code Behaviors & Features
Detect and mitigate CVE-2026-107842 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →