GIVE YOUR AGENT THE EVIDENCE

Set up in your agent.

One prompt to get started. Paste it into your coding agent to connect cve.new through MCP and bring vulnerability context into your workflow.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

GIVE YOUR AGENT THE EVIDENCE

Investigate in your agent.

Turn this advisory into a focused investigation. Ask your agent to check your project’s versions, explain the evidence, and suggest a compatible fix.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

Check your stack
GHSA-6mgp-v5cm-ghg5criticalNo CVE assigned

Drupal core Remote Code Execution

Impact

In Drupal core, when sending email some variables were not being sanitized for shell arguments in DefaultMailSystem::mail(), which could lead to remote code execution.

Source excerpt · OSV

Affected packages

Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.

drupal/core Packagist
Affected rangeRecorded fix
From 7.0 before 7.60Ecosystem versions7.60
From 8.0.0 before 8.5.8Ecosystem versions8.5.8
From 8.6.0 before 8.6.2Ecosystem versions8.6.2

Version evidence: OSV · GHSA-6mgp-v5cm-ghg5

View original version evidence (75 explicit versions)

Original source description

In Drupal core, when sending email some variables were not being sanitized for shell arguments in DefaultMailSystem::mail(), which could lead to remote code execution.

References