SA-CONTRIB-2026-107: Critical severity drupal/content_moderation_notifications vulnerability

Published Aug 26, 2026
·
Updated

The module provides a permission that allows users to configure email templates containing Twig code. This permission was not marked as restricted. A site administrator might inadvertently grant this permission to less-trusted users. This would allow those users to execute Twig within email templates, and to gain access to functionality and information intended only for highly trusted administrators.

Credit

Lee Rowlands (larowlan)(the Drupal Security Team), Luke Leber (luke.leber)

Affected Software

1 affected componentFixes available
drupal/content_moderation_notifications<8.x-3.9
8.x-3.9

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade drupal/content_moderation_notifications to a version that resolves this vulnerability.

    Fixed in 8.x-3.9

Event History

Aug 26, 2026
Advisory Published
via Drupal·12:00 AM
Data Sourced
via Drupal·12:00 AM
DescriptionSeverityAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Who is realistically exposed to this issue?

Sites are exposed if an administrator has granted the email-template configuration permission to less-trusted users. Those users can configure templates containing Twig code and access functionality or information intended for highly trusted administrators.

2

Does this require a default configuration change to be exploitable?

Exploitation depends on the relevant permission being granted to a less-trusted user. The issue arises because the permission was not marked as restricted, which could lead an administrator to grant it inadvertently.

3

What should administrators do if they cannot immediately apply a fix?

Review which roles and accounts have the permission to configure email templates containing Twig code. Remove it from less-trusted users and restrict it to highly trusted administrators.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203