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

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-10-09T20:26:31.329Z
- Modified: 2026-10-16T20:04:29.760Z
- Also known as: GHSA-5974-gfqc-wrcm
- Weaknesses: CWE-524, CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- contao contao: >= 5.7.0, < 5.7.12
- contao/core-bundle (Packagist): from 5.7.0 before 5.7.12

## Every score

- GitHub_M: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/contao/contao/security/advisories/GHSA-5974-gfqc-wrcm> (web)
- <https://github.com/contao/contao/commit/9d6f582a4cc6a758ce11d1043fc9c0ba62c5f4c9> (web)
- <https://github.com/contao/contao/releases/tag/5.7.12> (web)
- <https://github.com/contao/contao> (package)

## Sources

- CVE List: [CVE-2026-107851](https://www.cve.org/CVERecord?id=CVE-2026-107851), CVE Terms of Use, modified 2026-10-13
- GitHub Advisory Database: [GHSA-5974-gfqc-wrcm](https://github.com/advisories/GHSA-5974-gfqc-wrcm), CC-BY-4.0, modified 2026-10-09
- NVD: [CVE-2026-107851](https://nvd.nist.gov/vuln/detail/CVE-2026-107851), Public domain, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-107851 · Whole record: https://cve.day/CVE-2026-107851.json · Rebuilt by cve.day 2026-11-25T22:59:43.356Z
