CVE-2026-107850: Contao Improper Access Control Vulnerability
MODERATECVE-2026-107850 is a MODERATE (CVSS 4.3) improper access control vulnerability (CWE-639: Authorization Bypass Through User-Controlled Key) affecting Contao libraries in the Packagist ecosystem. The issue involves improper access control in the preview links module. Remediation is available by upgrading affected packages to version 5.7.12.
CVE-2026-107850 at a Glance
Security Impact
CVSS: 4.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2026-107850
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.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-107850, 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.7.12), 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-639: Authorization Bypass Through User-Controlled Key, where the system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data. 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-107850 Affected Contao Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
contao/core-bundle
|
Packagist |
≥ 5.7.1
< 5.7.12
|
5.7.12
|
References
Frequently Asked Questions
What is CVE-2026-107850?
Which Contao versions are affected?
What version fixes CVE-2026-107850?
Is contao/core-bundle affected?
What is the CVSS score of CVE-2026-107850?
What CWE is associated with CVE-2026-107850?
How can I check Packagist dependencies for CVE-2026-107850?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-q6wp-fr43-gm9v",
"modified" : "2026-10-09T20:53:46Z",
"published" : "2026-10-09T20:53:46Z",
"aliases" : [ "CVE-2026-107850" ],
"summary" : "Contao: Improper access control in the preview links module",
"details" : "`core-bundle/config/services.yaml` registers the preview access voter with the class `Contao\\CoreBundle\\Security\\Voter\\DataContainer\\PreviewAccessVoter`, but the class shipped on disk is named `PreviewVoter`. Symfony resolves the class with `getReflectionClass($class, false)`, gets `null`, silently skips the interface based autoconfiguration that would have tagged it as a voter, and the now untagged private service is removed when the container is compiled. The application boots without a warning, and the ownership rule in `PreviewVoter::hasAccess()` is never executed. `tl_preview_link` has no compensating SQL filter on `createdBy`, so any non administrator back end user whose group holds the `preview_link` module reads every preview link on the installation and lifts the already signed share URLs straight out of the list. Following one grants front end preview of the target page, with `showUnpublished` and with no page permission check, to anyone at all.\n\n### Impact\n\nA non administrator back end user reads every preview link on the installation, including links created by administrators, and lifts the already signed share URLs out of the list. Following one grants front end preview of the target page with `showUnpublished` and with no page permission check at all, so unpublished or embargoed content becomes readable by a user who has no rights on those pages, and by anyone that user forwards the URL to.\n\n**Honesty caveat, stated because it bounds the severity.** `UpdateAction` on a record owned by someone else was denied in our lab by `DcaPermissionVoter`, so we do not claim that a foreign preview link can be edited or deleted.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "contao/core-bundle"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.7.1"
}, {
"fixed" : "5.7.12"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/contao/contao/security/advisories/GHSA-q6wp-fr43-gm9v"
}, {
"type" : "WEB",
"url" : "https://github.com/contao/contao/commit/6b483d380a4b2dc61432c4c697e411508f93bf91"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/contao/contao"
}, {
"type" : "WEB",
"url" : "https://github.com/contao/contao/releases/tag/5.7.12"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-639", "CWE-862" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-10-09T20:53:46Z",
"nvd_published_at" : null
}
}