Remote code executionin Drupal Core.
Proof of concept public (GitHub).
In Drupal Core versions 7.x prior to 7.62, 8.6.x prior to 8.6.6 and 8.5.x prior to 8.5.9; A remote code execution vulnerability exists in PHP's built-in phar stream wrapper when performing file operations on an untrusted phar:// URI. Some Drupal code (core, contrib, and custom) may be performing file operations on insufficiently validated user input, thereby being exposed to this vulnerability. This vulnerability is mitigated by the fact that such code paths typically require access to an administrative permission or an atypical configuration.
- Upgrade Drupal core to 7.62, 8.5.9, 8.6.6. or later, whichever matches your release line.
- Upgrade drupal/drupal (Packagist) to 7.62.0, 8.5.9, 8.6.6 or later, whichever matches your release line.
- Upgrade drupal/core (Packagist) to 7.62.0, 8.5.9, 8.6.6 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 15 Jan 2019CVE ID reserved by drupal.
- 22 Jan 2019Published in the CVE List.
- 19 Oct 2021First public proof of concept on GitHub.
- 16 Sep 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (GitHub).
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other Core vulnerabilities
- www.debian.org vendor-advisory, x_refsource_DEBIAN
- www.drupal.org x_refsource_CONFIRM
- lists.debian.org mailing-list, x_refsource_MLIST
Patchminder. CVE-2019-6339: Remote code execution in Drupal Core. https://patchminder.com/cve/cve-2019-6339/ (accessed 5 December 2026).