CVE-2026-107842: Contao Protected Page Content Is Disclosed Vulnerability
MODERATECVE-2026-107842 is a MODERATE (CVSS 5.3) protected page content is disclosed vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Contao libraries in the Packagist ecosystem. The issue involves protected page content is disclosed to anonymous visitors after contao.search.index_protected is disabled. Remediation is available by upgrading affected packages to version 5.3.50, 5.7.12.
CVE-2026-107842 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2026-107842
To remediate this vulnerability, upgrade all affected Contao dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade contao/core-bundle to 5.3.50
Upgrade contao/core-bundle to 5.7.12
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for contao/core-bundle
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-107842, inspect your project dependencies for Contao:
inspect dependencies for contao/core-bundle
Analyze the terminal output to locate any version of Contao in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.3.50), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Contao, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-107842 Affected Contao Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
contao/core-bundle
|
Packagist |
≥ 4.0.0
< 5.3.50
|
5.3.50
|
|
contao/core-bundle
|
Packagist |
≥ 5.4.0-RC1
< 5.7.12
|
5.7.12
|
References
Frequently Asked Questions
What is CVE-2026-107842?
Which Contao versions are affected?
What version fixes CVE-2026-107842?
Is contao/core-bundle affected?
What is the CVSS score of CVE-2026-107842?
What CWE is associated with CVE-2026-107842?
How can I check Packagist dependencies for CVE-2026-107842?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-x2rp-9qf7-2fmq",
"modified" : "2026-10-09T20:54:09Z",
"published" : "2026-10-09T20:54:09Z",
"aliases" : [ "CVE-2026-107842" ],
"summary" : "Contao: Protected page content is disclosed to anonymous visitors after contao.search.index_protected is disabled",
"details" : "`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\nthe 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.\n\n## Impact\n\nDisclosure of member-only page titles, URLs and indexed text to unauthenticated visitors through the site search. The pages themselves remain access-controlled, so this is not a page-access bypass.\n\n## Credits\n\nThis security vulnerability was found by @iRevivalx .",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "contao/core-bundle"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.0.0"
}, {
"fixed" : "5.3.50"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "contao/core-bundle"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.4.0-RC1"
}, {
"fixed" : "5.7.12"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/contao/contao/security/advisories/GHSA-x2rp-9qf7-2fmq"
}, {
"type" : "WEB",
"url" : "https://github.com/contao/contao/commit/572686a113bca60f92cf2d0496cf3a74d0b6b457"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/contao/contao"
}, {
"type" : "WEB",
"url" : "https://github.com/contao/contao/releases/tag/5.3.50"
}, {
"type" : "WEB",
"url" : "https://github.com/contao/contao/releases/tag/5.7.12"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-10-09T20:54:09Z",
"nvd_published_at" : null
}
}