# GHSA-jf8c-36vw-98x4: Drupal core Remote Code Execution

- Severity: Critical (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-05-15T20:59:25.000Z
- Modified: 2024-11-29T05:25:52.881Z
- Weaknesses: CWE-94

## 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.

(As written by GitHub Advisory Database.)

## Affected

- drupal/drupal (Packagist): from 7.0 before 7.60; from 8.0.0 before 8.5.8; from 8.6.0 before 8.6.2

## References

- <https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/2018-10-17-4.yaml> (web)
- <https://github.com/drupal/drupal> (package)
- <https://www.drupal.org/sa-core-2018-006> (web)

## Sources

- GitHub Advisory Database: [GHSA-jf8c-36vw-98x4](https://github.com/advisories/GHSA-jf8c-36vw-98x4), CC-BY-4.0, modified 2024-11-29

---

Page: https://cve.day/GHSA-jf8c-36vw-98x4 · Whole record: https://cve.day/GHSA-jf8c-36vw-98x4.json · Rebuilt by cve.day 2026-11-25T22:56:32.418Z
