CVE-2026-107842 · GHSA-x2rp-9qf7-2fmq
Contao: Protected page content is disclosed to anonymous visitors after contao.search.index_protected is disabled
- Risk score
- 40/100
- CVSS
- 5.3 v3.1
- Exploit chance (30 days)
- 0.3%
- Published
- 9 Oct 2026
Open in the live forecast Today's forecast
What to know
- What it is
- 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 di…
- Affected
- contao/core-bundle (composer) >= 4.0.0, < 5.3.50; contao/core-bundle (composer) >= 5.4.0-RC1, < 5.7.12
- Fix
- Upgrade contao/core-bundle to 5.3.50 or 5.7.12 (whichever matches your release line) or later.
- Exploitation
- No known exploitation
Story map
At a glance
contao/core-bundle: Yellow, plan it in. Contao is an Open Source CMS. From version 5.0.0 until 5.3.50 and 5.7.12, ImagesController joins the user-controlled {path} parameter to the configured image target directory with Path::join() but does not use Path::isBasePath() to verify that the canonical path remains inside that directory. An unauthenticated reques…
The flaws
- CVE-2026-107842: Contao: Protected page content is disclosed to anonymous visitors after contao.search.index_protected is disabled (CVSS 5.3 · EPSS 0%)
- CVE-2026-107844: Contao: Path traversal in the images controller (CVSS 5.3 · EPSS 0%)
- CVE-2026-107843: Contao: The registration module re-sends activation mails (CVSS 5.3 · EPSS 0%)
The fix
Upgrade contao/core-bundle: 5.3.50 · 5.7.12 or later on your release line
Who is exposed: contao/core-bundle (composer) >= 4.1.0, < 5.3.50; contao/core-bundle (composer) >= 5.4.0-RC1, < 5.7.12
Where it stands
- No known exploitation
Connects to
- Same weakness: Information disclosure (CWE-200). 198 other warnings in 30 days
Why it is Yellow
- CVSS 5.3 medium
- On your watchlist: Composer
Affected packages
| Package | Ecosystem | Vulnerable | Fixed in |
|---|---|---|---|
| contao/core-bundle | composer | >= 4.0.0, < 5.3.50 | 5.3.50 |
| contao/core-bundle | composer | >= 5.4.0-RC1, < 5.7.12 | 5.7.12 |
References
- https://github.com/advisories/GHSA-x2rp-9qf7-2fmq
- https://github.com/contao/contao/security/advisories/GHSA-x2rp-9qf7-2fmq
- https://github.com/contao/contao/commit/572686a113bca60f92cf2d0496cf3a74d0b6b457
- https://github.com/contao/contao/releases/tag/5.3.50
- https://github.com/contao/contao/releases/tag/5.7.12
- https://github.com/advisories/GHSA-x2rp-9qf7-2fmq
Original 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.
Last activity 9 Oct 2026. Patch Forecast updates every hour.