CVE-2026-107851 Contao: Improper access control in the table access voter
- 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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- https://github.com/contao/contao/security/advisories/GHSA-5974-gfqc-wrcm vendor-advisory
- https://github.com/contao/contao/commit/9d6f582a4cc6a758ce11d1043fc9c0ba62c5f4c9 patch
- github.com product
- https://github.com/contao/contao/releases/tag/5.7.12
- github.com
- ENISA EUVD EUVD-2026-95981 third-party-advisory