# CVE-2026-104882: contao/core-bundle: Improper access control in the CSV import wizard

- **Severity:** MEDIUM 6.5
- **CVSS:** 6.5 (v3.1, GitHub) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **CWE:** CWE-639, CWE-862
- **Aliases:** GHSA-23w9-4pg3-xwm3
- **Published:** 2026-11-20T23:44:33.000Z
- **Modified:** 2026-11-20T23:44:34.000Z

## Who should check

- Projects that depend on Packagist package contao/core-bundle (\>= 5.0.0, \< 5.3.50)

## 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 and fixed versions

- Packagist `contao/core-bundle`: affected \>= 5.0.0, \< 5.3.50; fixed 5.3.50, 5.7.12 (ghsa)

## Technologies

Composer packages

## Mitigation

- Upgrade contao/core-bundle to one of 5.3.50, 5.7.12 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-104882. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-104882.md
Affected: contao/core-bundle >= 5.0.0, < 5.3.50
Fixed in: 5.3.50, 5.7.12

Steps:
1. Search this machine and project for contao/core-bundle (Packagist): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-104882 being exploited?

There is no confirmed exploitation: CVE-2026-104882 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-104882?

Medium: CVSS 6.5 (v3.1, scored by GitHub). Remote, login needed.

### Which versions are affected by CVE-2026-104882?

contao/core-bundle \>= 5.0.0, \< 5.3.50.

### Is there a fix for CVE-2026-104882?

Yes. Fixed in 5.3.50, 5.7.12. Upgrade contao/core-bundle to one of 5.3.50, 5.7.12 (or later in the same release line).

### How do I check if I'm affected by CVE-2026-104882?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/contao/contao/security/advisories/GHSA-23w9-4pg3-xwm3>
- patch: <https://github.com/contao/contao/pull/10153>
- patch: <https://github.com/contao/contao/commit/a58eb71ef5a7a87da9d90980579dbeb6688448b4>
- patch: <https://github.com/contao/contao/commit/eb8088bcd547964657a1411a34842b441393a81c>
- other: <https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/contao/CVE-2026-104882.yaml>
- other: <https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/core-bundle/CVE-2026-104882.yaml>
- other: <https://github.com/contao/contao/blob/a11109b60dedcbd99e32a4e8550afdadb500f2c5/CHANGELOG.md>
- other: <https://github.com/contao/contao/blob/a6543f49a92187a7368f51b290179c4795386e23/CHANGELOG.md>
- other: <https://github.com/contao/contao/tree/5.3.50>
- other: <https://github.com/contao/contao/tree/5.7.12>
- other: <https://github.com/advisories/GHSA-23w9-4pg3-xwm3>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- GitHub Advisory Database: CC-BY 4.0 <https://github.com/advisories/GHSA-23w9-4pg3-xwm3> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-104882> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-104882>
