CVE-2026-104882 is a medium-severity (CVSS 6.5) vulnerability in contao/core-bundle. A fix is available for contao/core-bundle — see the affected versions and patch details below.
contao/core-bundle: Improper access control in the CSV import wizard
Real-World Exposure
contao/core-bundle🐘contao/core-bundleReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.
Description
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
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | contao/core-bundle | ≥ 5.0.0&&< 5.3.50 | 5.3.50composer require contao/core-bundle:^5.3.50 |
| 🐘Packagist | contao/core-bundle | ≥ 5.4.0-RC1&&< 5.7.12 | 5.7.12composer require contao/core-bundle:^5.7.12 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for contao/core-bundle, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update contao/core-bundle to 5.3.50 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-104882 is resolved across your whole dependency graph.
Workarounds
Put an independent control in front of the weakness: restrict the affected endpoint or interface to trusted networks, require an additional authentication factor or proxy-level check, and invalidate existing sessions and credentials in case the flaw has already been used.
Frequently Asked Questions
Is CVE-2026-104882 in your dependencies?
Find it across Packagist, including transitive dependencies.