Critical severity9.8NVD Advisory· Published Jan 22, 2019· Updated Jun 17, 2026
CVE-2019-6339
CVE-2019-6339
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
drupal/drupalPackagist | >= 7.0.0, < 7.62.0 | 7.62.0 |
drupal/drupalPackagist | >= 8.0.0, < 8.5.9 | 8.5.9 |
drupal/drupalPackagist | >= 8.6.0, < 8.6.6 | 8.6.6 |
drupal/corePackagist | >= 7.0.0, < 7.62.0 | 7.62.0 |
drupal/corePackagist | >= 8.0.0, < 8.5.9 | 8.5.9 |
drupal/corePackagist | >= 8.6.0, < 8.6.6 | 8.6.6 |
Affected products
6- ghsa-coords2 versions
>= 7.0.0, < 7.62.0+ 1 more
- (no CPE)range: >= 7.0.0, < 7.62.0
- (no CPE)range: >= 7.0.0, < 7.62.0
- Range: 7.x
Patches
Vulnerability mechanics
References
7- www.drupal.org/sa-core-2019-002nvdPatchVendor AdvisoryWEB
- github.com/advisories/GHSA-8cw5-rv98-5c46ghsaADVISORY
- lists.debian.org/debian-lts-announce/2019/02/msg00004.htmlnvdThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2019-6339ghsaADVISORY
- www.debian.org/security/2019/dsa-4370nvdThird Party AdvisoryWEB
- github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2019-6339.yamlghsaWEB
- github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2019-6339.yamlghsaWEB
News mentions
0No linked articles in our index yet.