Skip to content
OpenAdvisories
Critical GHSA-6mgp-v5cm-ghg5

Drupal core Remote Code Execution

Published May 15, 2024 · Updated Nov 29, 2024 · Assigned by GHSA

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.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist drupal/core >= 7.0, < 7.60 7.60 GHSA-6mgp-v5cm-ghg5
Packagist drupal/core >= 8.0.0, < 8.5.8 8.5.8 GHSA-6mgp-v5cm-ghg5
Packagist drupal/core >= 8.6.0, < 8.6.2 8.6.2 GHSA-6mgp-v5cm-ghg5

References