patchminder
Proof of concept · GitHub CVE-2019-6339

Remote code executionin Drupal Core.

Published 22 Jan 2019 · Updated 16 Sep 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
Critical 9.8
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.0 · no login needed
Attack likelihood
High
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 36.0% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed versions listed below
In plain words

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.

What to do now
  • 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.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Drupal core
7.x to before 7.62
7.62
CVE record
Drupal core
8.6.x to before 8.6.6.
8.6.6.
CVE record
Drupal core
8.5.x to before 8.5.9
8.5.9
CVE record
drupal/drupal (Packagist)
7.0.0 to before 7.62.0
7.62.0
GitHub advisory
drupal/drupal (Packagist)
8.0.0 to before 8.5.9
8.5.9
GitHub advisory
drupal/drupal (Packagist)
8.6.0 to before 8.6.6
8.6.6
GitHub advisory
drupal/core (Packagist)
7.0.0 to before 7.62.0
7.62.0
GitHub advisory
drupal/core (Packagist)
8.0.0 to before 8.5.9
8.5.9
GitHub advisory
drupal/core (Packagist)
8.6.0 to before 8.6.6
8.6.6
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 15 Jan 2019
    CVE ID reserved by drupal.
  2. 22 Jan 2019
    Published in the CVE List.
  3. 19 Oct 2021
    First public proof of concept on GitHub.
  4. 16 Sep 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub).

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
1 repository
GitHubno warning signs foundVulnmachines/drupal-cve-2019-63395 stars · created 19 Oct 2021Drupal remote code execution vulnerabilty

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.

Related

Other Core vulnerabilities

References
Cite this page

Patchminder. CVE-2019-6339: Remote code execution in Drupal Core. https://patchminder.com/cve/cve-2019-6339/ (accessed 5 December 2026).