Skip to main content

The Examples for Developers project aims to provide high-quality, well-documented API examples for a broad range of Drupal core functionality. (CVE-2026-107312)

0
Medium
Published: 10/07/2026 (10/07/2026, 16:39:53 UTC)
Source: GCVE Database
Product: drupal/examples

Description

The Examples for Developers project for Drupal includes an 'Email Example' feature in the email_example submodule that can be exploited to send illegitimate emails to arbitrary addresses. Due to this security issue, the email_example submodule has been removed until a secure version demonstrating best practices is available. Developers who have used this example to build new modules should review their code for potential vulnerabilities.

Affected software

Packagist:https://packages.drupal.org/8ghsa
drupal/examples
Affected versions
<4.0.7

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/07/2026, 22:16:24 UTC

Technical Analysis

The email_example submodule within the Drupal Examples for Developers project contains a vulnerability that allows sending unauthorized emails to arbitrary recipients. This submodule is being removed from the project to prevent misuse until a secure replacement is developed. The vulnerability affects versions of the examples project prior to 4.0.7.

Potential Impact

The vulnerability enables attackers or malicious users to send illegitimate emails to arbitrary email addresses, potentially facilitating spam, phishing, or other email-based abuse. There are no known exploits in the wild at this time.

Mitigation Recommendations

A fix is available as the email_example submodule has been removed from the Examples for Developers project until a secure version is created. Developers should update to version 4.0.7 or later of the examples project and review any modules based on the email_example code to ensure they do not contain this vulnerability.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
DRUPAL-CONTRIB-2026-215
Osv Schema Version
1.7.0
Aliases
["CVE-2026-107312"]
Ecosystems
["Packagist:https://packages.drupal.org/8"]

Threat ID: 6ac6c0042cdf04f65682928a

Added to database: 10/07/2026, 21:56:20 UTC

Last enriched: 10/07/2026, 22:16:24 UTC

Last updated: 10/07/2026, 22:16:24 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses