{"id":"GHSA-6mgp-v5cm-ghg5","aliases":["GHSA-6mgp-v5cm-ghg5"],"related":[],"kind":"vulnerability","state":"published","title":"Drupal core Remote Code Execution","summary":"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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"ghsa"}],"published":"2024-05-15T20:27:23.000Z","modified":"2024-11-29T05:41:01.782Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"CRITICAL"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"type":"ecosystem","introduced":"7.0","status":"affected","fixed":"7.60"}],"ecosystem":"Packagist","package":"drupal/core","purl":"pkg:composer/drupal/core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"8.0.0","status":"affected","fixed":"8.5.8"}],"ecosystem":"Packagist","package":"drupal/core","purl":"pkg:composer/drupal/core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"8.6.0","status":"affected","fixed":"8.6.2"}],"ecosystem":"Packagist","package":"drupal/core","purl":"pkg:composer/drupal/core","source":"ghsa"}],"references":[{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/2018-10-17-4.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/drupal/core","tags":["package"],"sources":["ghsa"]},{"url":"https://www.drupal.org/sa-core-2018-006","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6mgp-v5cm-ghg5","url":"https://github.com/advisories/GHSA-6mgp-v5cm-ghg5","licence":"CC-BY-4.0","modified":"2024-11-29T05:41:01.782Z"}],"updatedAt":"2026-11-25T22:56:31.341Z"}