SA-CONTRIB-2026-215: Critical severity drupal/examples vulnerability

Published Oct 7, 2026
·
Updated

The Examples for Developers project aims to provide high-quality, well-documented API examples for a broad range of Drupal core functionality. The "Email Example" feature implemented by the emailexample submodule can be used to send illegitimate emails to arbitrary email addresses. Therefore, the emailexample sub-module is being removed from Examples for Developers until a version demonstrating security best practices can be added back in the future. Developers who based a new module on this example should review their code.

Credit

Alberto Paderno (avpaderno)

Affected Software

1 affected componentFixes available
drupal/examples<4.0.7
4.0.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 4.0.7
  2. Remove

    Remove Examples for Developers email_example submodule from your environment.

    Remove the email_example submodule, which can send illegitimate emails to arbitrary email addresses.

Event History

Oct 7, 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 exposed to this issue?

Sites using the email_example submodule in the Drupal Examples for Developers project are exposed. Developers who used that example as the basis for a new module should also review their derived code.

2

What does an attacker need to exploit it?

The available information states that the email_example feature can be used to send illegitimate emails to arbitrary addresses. It does not specify the access level, input path, or other prerequisites required to trigger it.

3

What should be done if the affected feature is installed?

Remove or disable the email_example submodule. Review any custom modules based on its code and correct any similar email-sending behavior.

4

How can I determine whether my site is affected?

Check whether the email_example submodule from Drupal Examples for Developers is installed or enabled. Also identify custom modules whose implementation was copied or adapted from the Email Example.

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