Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. contao/core-bundle
  4. ›
  5. CVE-2026-107850

CVE-2026-107850: Contao: Improper access control in the preview links module

October 9, 2026

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.

References

  • github.com/advisories/GHSA-q6wp-fr43-gm9v
  • github.com/contao/contao/commit/6b483d380a4b2dc61432c4c697e411508f93bf91
  • github.com/contao/contao/releases/tag/5.7.12
  • github.com/contao/contao/security/advisories/GHSA-q6wp-fr43-gm9v
  • nvd.nist.gov/vuln/detail/CVE-2026-107850

Code Behaviors & Features

Detect and mitigate CVE-2026-107850 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 →

Affected versions

All versions starting from 5.7.1 before 5.7.12

Fixed versions

  • 5.7.12

Solution

Upgrade to version 5.7.12 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-639: Authorization Bypass Through User-Controlled Key
  • CWE-862: Missing Authorization

Source file

packagist/contao/core-bundle/CVE-2026-107850.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:04 +0000.