Skip to content
OpenAdvisories
Medium · 4.3 CVE-2026-107851 EUVD-2026-95981GHSA-5974-gfqc-wrcm

Contao: Improper access control in the table access voter

Published Oct 9, 2026 · Updated Oct 13, 2026 · Assigned by GitHub_M

Description

Contao is an Open Source CMS. From version 5.7.0 until 5.7.12, TableAccessVoter::hasAccessToModule() in core-bundle/src/Security/Voter/DataContainer/TableAccessVoter.php caches authorization decisions using only $tokenHash, a hash of the user's security token, and omits the table returned by getDataSource(). If one request first checks a table allowed to the user and then a different denied table, the voter can reuse the allowed result, while DefaultDataContainerVoter can convert an incorrect abstention into a grant. A low-privileged backend user can consequently read, create, update, or delete records in tables outside assigned module permissions, including tables containing member or newsletter-subscriber data. This issue is fixed in version 5.7.12.

Affected products

VendorProductAffectedFixed
contao contao >= 5.7.0, < 5.7.12 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist contao/core-bundle >= 5.7.0, < 5.7.12 5.7.12 GHSA-5974-gfqc-wrcm

Advisories 1

References