Drupal core Remote Code Execution
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | drupal/core | >= 7.0, < 7.60, >= 8.0.0, < 8.5.8, >= 8.6.0, < 8.6.2 | 7.60, 8.5.8, 8.6.2 |
| Drupal (core) | drupal/core | >= 7.0, < 7.60, >= 8.0.0, < 8.5.8, >= 8.6.0, < 8.6.2 | 7.60, 8.5.8, 8.6.2 |
References
- Weakness (CWE)
CWE-94- Platform
- Composer, Drupal
- Package
drupal/core- Disclosed
- 15.05.2024
- Updated
- 11.10.2026 11:18
Sources and licenses
OSV / GitHub Advisory Database - GHSA-6mgp-v5cm-ghg5 - CC BY 4.0
Vulnerability history: drupal/core
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 146
- First → latest
- 02.2018 09.2026
- Without a fix
- 3
- Exploited in attacks
- 5
Severity breakdown
- Critical 15
- High 40
- Medium 60
- Low 5
- Unrated 26
Disclosures per year
- 2018: 4
- 2019: 14
- 2020: 12
- 2021: 11
- 2022: 55
- 2023: 6
- 2024: 23
- 2025: 8
- 2026: 13
-
Drupal core Remote Code Execution this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.