CVE-2019-6339 in the critical feed json
PHAR stream wrapper Arbitrary PHP code execution
published 2019-01-16 7 y ago modified 2026-09-19 50 d ago also DRUPAL-CORE-2019-002 , GHSA-8cw5-rv98-5c46 , EUVD-2022-0526
- cvss
- 9.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 35.9%
- EPSS 35.9% chance of exploitation in 30 days, percentile 98%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist drupal/drupal 7.62.0, 8.5.9, 8.6.6
- packagist drupal/core 7.62.0, 8.5.9, 8.6.6
- Drupal Drupal core 7.62, 8.5.9, 8.6.6.
- drupal.org/sa-core-2019-002 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-6339 updated cvss 5.7
drupal: Vulnerability in the PHP's built-in phar stream wrapper
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
35.95% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | drupal/drupal | >=7.0.0, <7.62.0 >=8.0.0, <8.5.9 >=8.6.0, <8.6.6 |
7.62.0 8.5.9 8.6.6 |
| packagist | drupal/core | >=7.0.0, <7.62.0 >=8.0.0, <8.5.9 >=8.6.0, <8.6.6 |
7.62.0 8.5.9 8.6.6 |
Affected products
- Drupal Drupal core
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
drupal.org
/sa-core-2019-002
web, patch, vendor-advisory
-
debian.org
/security/2019/dsa-4370
vendor-advisory, web, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2019/02/msg00004.html
mailing-list, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2019-6339
advisory
-
github.com
/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2019-6339.yaml
web
-
github.com
/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2019-6339.yaml
web
Sources
- CVE List CVE-2019-6339
- GitHub Advisory GHSA-8cw5-rv98-5c46
- NVD CVE-2019-6339
- OSV DRUPAL-CORE-2019-002
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.