Skip to content
PatchBriefing

Search PatchBriefing

Type at least two characters. Results update as you type.

Search CVEs, products, packages and article titles.

Nothing found. Identifiers such as CVE and GHSA can be searched in both languages.

Subscribe

Medium · 4.3 PHP packages GHSA-5974-gfqc-wrcm CVE-2026-107851 PKSA-b5qj-hq3z-3ry8 PKSA-vtsh-c9df-2j1j

Contao CMS: Access Control Flaw in Backend Table Voter Allows Cross-Table Data Access (CVE-2026-107851)

A flaw in Contao's TableAccessVoter caching logic can let a low-privileged backend user read or modify records in database tables outside their assigned module permissions, including tables holding member or newsletter-subscriber data. Fixed in contao/core-bundle 5.7.12.

By PatchBriefing ·

Produced automatically from official sources with the help of AI. How we work →

AI summary

Contao, an open source content management system, has fixed a vulnerability in its backend authorization logic that could allow low-privileged backend users to access data outside their assigned permissions. The issue, tracked as CVE-2026-107851 (GHSA-5974-gfqc-wrcm, PKSA-b5qj-hq3z-3ry8), affects the contao/core-bundle package and has been resolved in version 5.7.12.

What Happened

A vulnerability was identified in Contao's backend authorization component, specifically in TableAccessVoter::hasAccessToModule(). The voter caches authorization decisions using only a hash of the user's security token, without factoring in which database table the request targets. As a result, if a request first checks access to a table the user is allowed to use, and a subsequent request checks a different table the user is not allowed to use, the voter can incorrectly reuse the earlier "allowed" decision for the second table.

Technical Cause

The root cause is in core-bundle/src/Security/Voter/DataContainer/TableAccessVoter.php. The caching key used for authorization decisions is derived solely from $tokenHash (a hash of the user's security token) and omits the table identifier returned by getDataSource(). This is classified as CWE-524, Use of Cache Containing Sensitive Information. Because the cache is table-agnostic, a cached grant for one table can be misapplied to another. The advisory further notes that DefaultDataContainerVoter can convert an incorrect abstention arising from this cache reuse into an outright access grant, compounding the issue.

Why It Matters

A low-privileged backend user — someone granted access only to specific modules or tables — could exploit this caching flaw to read, create, update, or delete records in tables outside their assigned permissions. The advisory specifically calls out tables containing member or newsletter-subscriber data as being at risk, meaning personal data belonging to site visitors or subscribers could be exposed or altered by users who should not have that level of access.

Who Is Affected

Sites running contao/core-bundle in the affected version range are impacted. Exploitation requires an authenticated backend account with at least some module-level permissions (PR:L in the CVSS vector), so the risk applies to installations with multiple backend users holding differing permission levels, particularly where some of those tables contain member or newsletter data.

Affected Versions

contao/core-bundle versions from 5.7.0 up to, but not including, 5.7.12 are affected. Version 5.7.12 contains the fix.

Fixes and Mitigation

The issue is resolved in contao/core-bundle version 5.7.12. Site operators should update affected installations to version 5.7.12 as soon as possible.

Recommended Action

Update contao/core-bundle to version 5.7.12 or later. Administrators who manage multiple backend users with varying permission levels should prioritize this update, particularly on installations where sensitive data such as member or newsletter-subscriber records is stored in tables restricted to specific roles.

PatchBriefing score

4.3 / 10 · Medium

Official CVSS: 4.3

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

EPSS 0.0033 (19 percentile)

Why this score

The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.

Affected versions

contao/core-bundle ≥ 5.7.0 < 5.7.12
vulnerable
contao/core-bundle
vulnerable
contao/core-bundle >= 5.7.0, < 5.7.12
vulnerable
contao/core-bundle >=5.7.0,<5.7.12
vulnerable
≥ 5.7.12
patched
contao/contao >=5.7.0,<5.7.12
vulnerable

Reported fixes

The issue is resolved in contao/core-bundle version 5.7.12. Site operators should update affected installations to version 5.7.12 as soon as possible.

How this was built

4 source records were collected, matched and used to prepare the report above.

  • OSV.dev database
  • Packagist Security Advisories registry
  • GitHub Advisory Database database
  • NVD (NIST) database
Unified report
Contao CMS: Access Control Flaw in Backend Table Voter Allows Cross-Table Data Access (CVE-2026-107851)
1 article · 4 sources cited
Revision history
  1. Generated
  2. Published
  3. Generated
The Morning Brief

Relevant changes for the stacks you follow.

Choose your stacks, topics and optional WordPress plugins. At 07:00 CET, matching advisories and releases from the reporting period are grouped into one email.

✓ Choose stacks and topics✓ Change preferences anytime✓ One grouped email