- Package
- contao/newsletter-bundle
- Fixed in
- 5.3.50, 5.7.12
- Published
- Fri 20 Nov 2026, 23:43 LisbonUpdated Sat 28 Nov 2026, 00:45 Lisbon
- Installs on Packagist
- 1M
In plain words
A newsletter editor with access limited to certain channels can bypass per-channel permissions through custom newsletter actions. They can add recipients to and send mass mail from channels they are not authorised to edit. In some versions, they can also delete or denylist recipients in those channels.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| contao/newsletter-bundle | >= 5.0.0, < 5.3.50 | 5.3.50 |
| contao/newsletter-bundle | >= 5.4.0-RC1, < 5.7.12 | 5.7.12 |
How serious is it?
Medium is a CVSS score of 4.0 to 6.9: real impact, but the attacker needs something first, such as an account, a particular setting or a user who clicks a link. If your site meets that condition, treat it as High; if not, ship the fix in your next planned release.
contao/newsletter-bundle has 1M installs on Packagist, so the advisory reaches a large number of projects: expect scanners to look for it soon.
Am I affected?
Check composer.lock for contao/newsletter-bundle versions >= 5.0.0, < 5.3.50 or >= 5.4.0-RC1, < 5.7.12. If affected, review whether newsletter editors have module access but are restricted to particular channels: the flaw lets those editors use custom newsletter actions outside their authorised channels. The fixed versions are 5.3.50 and 5.7.12.
Did you install contao/newsletter-bundle, or did a dependency?
Composer says why a package is in your project:
composer why contao/newsletter-bundle
If the output names your own project, you required contao/newsletter-bundle directly and the update is yours to make. If it names another package, contao/newsletter-bundle came in through it, and that package's version constraint decides which release you can install. To see what stands between you and the fix, ask Composer directly:
composer why-not contao/newsletter-bundle 5.3.50
Every line it prints is a constraint that blocks 5.3.50. Update the package it names, or raise your own constraint, and run it again until it prints nothing. If you stay on an older branch, ask about its fix instead: 5.7.12.
What to do
Check which version you have, then update to a fixed release for your branch (5.3.50, 5.7.12):
composer show contao/newsletter-bundle | grep versions
composer update contao/newsletter-bundle
If your version constraint in composer.json keeps you below a fixed release, raise it first. Whether your configuration is affected, and the exact version ranges, are in the advisory itself.
Check the whole project at once
Composer 2.4 and later can list every installed package with a known advisory, this one included once Packagist has it:
composer audit --locked
--locked reads composer.lock instead of the vendor folder, so you can run it on a release tag or in CI without installing anything. It exits with a non-zero code when it finds an advisory, which is enough to fail a build. Run it on every branch you still support, not only the newest: an older release your customers run is affected in the same way.
Under the Cyber Resilience Act
No exploitation of this vulnerability is known, so on its own it does not start the Article 14 reporting clock, which covers actively exploited vulnerabilities. That changes if you learn it is being exploited through your product: then the 24-hour early warning applies.
Either way, if contao/newsletter-bundle ships inside a product you sell, the CRA treats its vulnerabilities as yours. Article 13(5) asks for due diligence on the components you include, and from 11 December 2027 Annex I asks you to ship security fixes without delay and free of charge for the support period you declared. A short note in your changelog saying which release updated contao/newsletter-bundle, and why, is the evidence you will want later.
What goes in each Article 14 report · Does the CRA apply to your product?
contao/newsletter-bundle's record
This is the only advisory for contao/newsletter-bundle since the digest started following Composer packages in September 2026. One advisory says little about a package's quality; what matters is how fast the fix came, and here it is out.
The advisory's 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
Weakness: CWE-639 Authorization Bypass Through User-Controlled Key; CWE-862 Missing Authorization. Reported by HDWSec.
CWE-639. Insecure direct object reference: changing an id in the request reaches another user's record.
CWE-862. Missing authorization: an action checks that you are logged in but not that you are allowed to do it.
The advisory
- GitHub Advisory Database: GHSA-3r9g-pfhv-3228, with who is affected and how
- OSV.dev: GHSA-3r9g-pfhv-3228
- All advisories for contao/newsletter-bundle