p PatchFirst

CVE-2026-107851

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 4.3 · Medium · EPSS 0.2% · Fix available

Published
Updated

Stack: php

Affected products and versions

  • contao

    Versions
    • >= 5.7.0, < 5.7.12: Affected

    No fix published

  • contao/core-bundle Packagist

    Versions
    • 5.7.0
    • 5.7.1
    • 5.7.10
    • 5.7.11
    • 5.7.2
    • 5.7.3
    • 5.7.4
    • 5.7.5
    • 5.7.6
    • 5.7.7
    • 5.7.8
    • 5.7.9
    Affected ranges
    • ECOSYSTEM: ≥ 5.7.0, < 5.7.12

    Update to 5.7.12

Original sources

Check your server →