{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "5.7.0"
              },
              {
                "fixed": "5.7.12"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "72bb9e0235574397cf06a2165dc21fdd19186c74"
            },
            {
              "fixed": "9d6f582a4cc6a758ce11d1043fc9c0ba62c5f4c9"
            },
            {
              "fixed": "a6543f49a92187a7368f51b290179c4795386e23"
            }
          ],
          "repo": "https://github.com/contao/contao",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-5974-gfqc-wrcm"
  ],
  "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"
  },
  "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.",
  "id": "CVE-2026-107851",
  "modified": "2026-10-11T02:30:42.034140972Z",
  "published": "2026-10-09T20:26:31.329Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/contao/contao/releases/tag/5.7.12"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107851.json"
    },
    {
      "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"
    },
    {
      "type": "FIX",
      "url": "https://github.com/contao/contao/commit/9d6f582a4cc6a758ce11d1043fc9c0ba62c5f4c9"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Contao: Improper access control in the table access voter"
}