CVE-2026-104882: contao/core-bundle Improper Access Control Vulnerability

MODERATE
Advisory Identifier: GHSA-23w9-4pg3-xwm3
CVSS 6.5
CWE-639 CWE-862
Published
Advisory Summary

CVE-2026-104882 is a MODERATE (CVSS 6.5) improper access control vulnerability (CWE-639: Authorization Bypass Through User-Controlled Key) affecting contao/core-bundle libraries in the Packagist ecosystem. The issue involves improper access control in the csv import wizard. Remediation is available by upgrading affected packages to version 5.3.50, 5.7.12.

CVE-2026-104882 at a Glance

CVE Identifier CVE-2026-104882
GHSA Identifier GHSA-23w9-4pg3-xwm3
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-639: Authorization Bypass Through User-Controlled Key
Affected Product contao/core-bundle
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2026-104882

To remediate this vulnerability, upgrade all affected contao/core-bundle dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

contao/core-bundle fixed: 5.3.50
Upgrade contao/core-bundle to 5.3.50
contao/core-bundle fixed: 5.7.12
Upgrade contao/core-bundle to 5.7.12
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for contao/core-bundle

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-104882, inspect your project dependencies for contao/core-bundle:

inspect dependencies for contao/core-bundle

Analyze the terminal output to locate any version of contao/core-bundle in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.3.50), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-639: Authorization Bypass Through User-Controlled Key, where the system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data. In contao/core-bundle, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Custom backend module "key" actions are dispatched in `Backend::getBackendModule()` (Backend.php:322-327) after only the module-level `USER_CAN_ACCESS_MODULE` check - no per-record voter runs. ## Impact A non-admin editor scoped to certain pages/forms can overwrite the tableitems/listitems/options of arbitrary tl_content / tl_form_field records outside their scope, defeating the per-record access control. Integrity IDOR (blind content overwrite; the value written is `serialize()` of a plain string array from the CSV - not object injection). ## Credits This security vulnerability was found by @HDWSec

CVE-2026-104882 Affected contao/core-bundle Versions

2 component(s)
Fixed Versions:
5.3.505.7.12
Product / Package Ecosystem Affected Versions Fixed Version
contao/core-bundle
Packagist
≥ 5.0.0
< 5.3.50
5.3.50
contao/core-bundle
Packagist
≥ 5.4.0-RC1
< 5.7.12
5.7.12

References

Frequently Asked Questions

What is CVE-2026-104882?
CVE-2026-104882 is a security vulnerability in contao/core-bundle involving Improper access control in the CSV import wizard under CWE-639: Authorization Bypass Through User-Controlled Key.
Which contao/core-bundle versions are affected?
Affected versions include releases prior to 5.3.50, 5.7.12 across affected packages: contao/core-bundle.
What version fixes CVE-2026-104882?
Upgrading to 5.3.50, 5.7.12 (or the latest patched release for your respective branch) resolves the vulnerability.
Is contao/core-bundle affected?
Yes, contao/core-bundle is affected in releases prior to 5.3.50, 5.7.12. Upgrade your dependency to 5.3.50, 5.7.12 or later.
What is the CVSS score of CVE-2026-104882?
CVE-2026-104882 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N.
What CWE is associated with CVE-2026-104882?
CVE-2026-104882 is classified under CWE-639: Authorization Bypass Through User-Controlled Key (The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.).
How can I check Packagist dependencies for CVE-2026-104882?
Run the dependency tree command: 'inspect dependencies for contao/core-bundle'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-23w9-4pg3-xwm3",
  "modified" : "2026-11-20T23:44:33Z",
  "published" : "2026-11-20T23:44:33Z",
  "aliases" : [ "CVE-2026-104882" ],
  "summary" : "contao/core-bundle: Improper access control in the CSV import wizard",
  "details" : "Custom backend module \"key\" actions are dispatched in `Backend::getBackendModule()` (Backend.php:322-327) after only the module-level `USER_CAN_ACCESS_MODULE` check - no per-record voter runs.\n\n## Impact\n\nA non-admin editor scoped to certain pages/forms can overwrite the tableitems/listitems/options of arbitrary tl_content / tl_form_field records outside their scope, defeating the per-record access control. Integrity IDOR (blind content overwrite; the value written is `serialize()` of a plain string array from the CSV - not object injection).\n\n## Credits\n\nThis security vulnerability was found by @HDWSec",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "contao/core-bundle"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.0.0"
      }, {
        "fixed" : "5.3.50"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "contao/core-bundle"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.4.0-RC1"
      }, {
        "fixed" : "5.7.12"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/contao/contao/security/advisories/GHSA-23w9-4pg3-xwm3"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/contao/contao/pull/10153"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/contao/contao/commit/a58eb71ef5a7a87da9d90980579dbeb6688448b4"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/contao/contao/commit/eb8088bcd547964657a1411a34842b441393a81c"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/contao/CVE-2026-104882.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/core-bundle/CVE-2026-104882.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/contao/contao"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/contao/contao/blob/a11109b60dedcbd99e32a4e8550afdadb500f2c5/CHANGELOG.md"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/contao/contao/blob/a6543f49a92187a7368f51b290179c4795386e23/CHANGELOG.md"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/contao/contao/tree/5.3.50"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/contao/contao/tree/5.7.12"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-639", "CWE-862" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-11-20T23:44:33Z",
    "nvd_published_at" : null
  }
}