Skip to content

CVE-2026-107851 Contao: Improper access control in the table access voter

MediumCVSS 4.3 EPSS 0.19%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
PHP

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
contao/core-bundle(Packagist) = 5.7.0; = 5.7.1; = 5.7.2; = 5.7.3 +9 more 5.7.12 Fixed
contao/contao = >= 5.7.0, < 5.7.12 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
contao/core-bundle(Packagist) >= 5.7.0, < 5.7.12 5.7.12
contao/core-bundle(Packagist) = 5.7.0 No fix listed
contao/core-bundle(Packagist) = 5.7.1 No fix listed
contao/core-bundle(Packagist) = 5.7.10 No fix listed
contao/core-bundle(Packagist) = 5.7.11 No fix listed
contao/core-bundle(Packagist) = 5.7.2 No fix listed
contao/core-bundle(Packagist) = 5.7.3 No fix listed
contao/core-bundle(Packagist) = 5.7.4 No fix listed
contao/core-bundle(Packagist) = 5.7.5 No fix listed
contao/core-bundle(Packagist) = 5.7.6 No fix listed
contao/core-bundle(Packagist) = 5.7.7 No fix listed
contao/core-bundle(Packagist) = 5.7.8 No fix listed
contao/core-bundle(Packagist) = 5.7.9 No fix listed
contao/contao = >= 5.7.0, < 5.7.12 No fix listed

References