CVE-2026-104881
contao/newsletter-bundle: Contao newsletter custom actions bypass channel-scoped authorization
Also known as GHSA-3r9g-pfhv-3228
Mitigation
- Upgrade contao/newsletter-bundle to one of 5.3.50, 5.7.12 (or later in the same release line).
Who should check
- Projects that depend on Packagist package contao/newsletter-bundle (>= 5.0.0, < 5.3.50)
Vulnerability facts
- Affected
- contao/newsletter-bundle >= 5.0.0, < 5.3.50
- Fixed in
- 5.3.50, 5.7.12
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 4.3 (v3.1, GitHub)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: Low
- Availability impact: None
- CWE
- CWE-639, CWE-862
- Modified
Description
Channel access is enforced only by the DataContainer voters (`NewsletterChannelAccessVoter` / `NewsletterRecipientsAccessVoter`, requiring USER_CAN_EDIT_CHANNEL), whose `supportsType()` fires exclusively for Create/Read/Update/DeleteAction subjects dispatched inside DC_Table's create/edit/delete methods. The newsletter custom key-actions are dispatched directly by `Backend::getBackendModule()` (Backend.php:324-327) after only the module-level `USER_CAN_ACCESS_MODULE` check; the DC_Table constructor runs no per-record ReadAction vote for a key-action. `Newsletter.php` contains no `isGranted` / `denyAccess` / `isAdmin` / `hasAccess` calls, and none of the newsletter DCAs have a `checkPermission` onload callback. ## Impact A channel-scoped newsletter editor can inject recipients into, mass-mail, and in some versions, delete/denylist recipients of channels they are not authorized to edit - defeating the per-channel permission model (integrity + abuse of the mail-sending capability). ## Credits This security vulnerability was found by @HDWSec
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Packagist contao/newsletter-bundle | >= 5.0.0, < 5.3.50 | 5.3.50, 5.7.12 | ghsa |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-104881. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-104881.md Affected: contao/newsletter-bundle >= 5.0.0, < 5.3.50 Fixed in: 5.3.50, 5.7.12 Steps: 1. Search this machine and project for contao/newsletter-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.
Technologies
References
Patches
Other
- https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/contao/CVE-2026-104881.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/newsletter-bundle/CVE-2026-104881.yaml
- https://github.com/contao/contao/blob/a11109b60dedcbd99e32a4e8550afdadb500f2c5/CHANGELOG.md
- https://github.com/contao/contao/blob/a6543f49a92187a7368f51b290179c4795386e23/CHANGELOG.md
- https://github.com/contao/contao/tree/5.3.50
- https://github.com/contao/contao/tree/5.7.12
- https://github.com/advisories/GHSA-3r9g-pfhv-3228
FAQ
Is CVE-2026-104881 being exploited?
There is no confirmed exploitation: CVE-2026-104881 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.
How serious is CVE-2026-104881?
Medium: CVSS 4.3 (v3.1, scored by GitHub). Remote, login needed.
Which versions are affected by CVE-2026-104881?
contao/newsletter-bundle >= 5.0.0, < 5.3.50.
Is there a fix for CVE-2026-104881?
Yes. Fixed in 5.3.50, 5.7.12. Upgrade contao/newsletter-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-104881?
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.