Live threats

All CVEs / Drupal

CVE-2019-6339Drupal

Critical 9.8 No auth neededHigh EPSS

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Drupal.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
drupaldrupal≥ 7.0 < 7.62
drupaldrupal≥ 8.5.0 < 8.5.9
drupaldrupal≥ 8.6.0 < 8.6.6
debiandebian_linux8.0
debiandebian_linux9.0

Official sources

References

Links published by the sources. Open them with care.