{"id":"CVE-2026-107851","summary":"Contao: Improper access control in the table access voter","details":"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.","aliases":["GHSA-5974-gfqc-wrcm"],"modified":"2026-10-10T10:45:28.378020651Z","published":"2026-10-09T20:26:31.329Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-524","CWE-863"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107851.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107851.json"},{"type":"FIX","url":"https://github.com/contao/contao/commit/9d6f582a4cc6a758ce11d1043fc9c0ba62c5f4c9"},{"type":"WEB","url":"https://github.com/contao/contao/releases/tag/5.7.12"},{"type":"ADVISORY","url":"https://github.com/contao/contao/security/advisories/GHSA-5974-gfqc-wrcm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107851"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/contao/contao","events":[{"introduced":"72bb9e0235574397cf06a2165dc21fdd19186c74"},{"fixed":"a6543f49a92187a7368f51b290179c4795386e23"}],"database_specific":{"extracted_events":[{"introduced":"5.7.0"},{"fixed":"5.7.12"}],"source":"AFFECTED_FIELD"}}],"versions":["5.7.11","5.7.10","5.7.9","5.7.8","5.7.7","5.7.6","5.7.5","5.7.4","5.7.3","5.7.2","5.7.1","5.7.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-107851.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"}]}