CVE-2019-6339Drupal
Critical 9.8 No auth neededHigh EPSS
Follow: this CVE · Drupal · Drupal We alert you by email or Slack (account required).
- Priority
- 77
- CVSS 3.0
- 9.8
- EPSS
- 35.9% probability of exploitation in 30 days · percentile 99
- Auth required
- No
- Published
- Jan 22, 2019
- Updated
- Jun 17, 2026
- Category
- Web application · Cross-platform
- Weakness (CWE)
- CWE-20
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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
- Apply the vendor's security update for Drupal.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | drupal/core |
≥ 8.0.0 < 8.5.9 |
8.5.9 |
composer require "drupal/core:^8.5.9" |
| Packagist | drupal/core |
≥ 8.6.0 < 8.6.6 |
8.6.6 |
composer require "drupal/core:^8.6.6" |
| Packagist | drupal/core |
≥ 7.0.0 < 7.62.0 |
7.62.0 |
composer require "drupal/core:^7.62.0" |
| Packagist | drupal/core |
≥ 8.0.0 < 8.5.9 |
8.5.9 |
composer require "drupal/core:^8.5.9" |
| Packagist | drupal/core |
≥ 8.6.0 < 8.6.6 |
8.6.6 |
composer require "drupal/core:^8.6.6" |
| Packagist | drupal/drupal |
≥ 7.0.0 < 7.62.0 |
7.62.0 |
composer require "drupal/drupal:^7.62.0" |
| Packagist | drupal/drupal |
≥ 8.0.0 < 8.5.9 |
8.5.9 |
composer require "drupal/drupal:^8.5.9" |
| Packagist | drupal/drupal |
≥ 8.6.0 < 8.6.6 |
8.6.6 |
composer require "drupal/drupal:^8.6.6" |
Per OSV / GitHub Advisories (DRUPAL-CORE-2019-002, GHSA-8cw5-rv98-5c46). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| drupal | drupal | ≥ 7.0 < 7.62 |
| drupal | drupal | ≥ 8.5.0 < 8.5.9 |
| drupal | drupal | ≥ 8.6.0 < 8.6.6 |
| debian | debian_linux | 8.0 |
| debian | debian_linux | 9.0 |
Official sources
References
Links published by the sources. Open them with care.
- lists.debian.org Third Party Advisory
- www.debian.org Third Party Advisory
- www.drupal.org Patch Vendor Advisory