Search for vulnerabilities
Vulnerability details: VCID-7wup-zkhw-9uhx
Vulnerability ID VCID-7wup-zkhw-9uhx
Aliases CVE-2019-6339
GHSA-8cw5-rv98-5c46
Summary Arbitrary PHP code execution in Drupal 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.
Status Published
Exploitability 0.5
Weighted Severity 9.0
Risk 4.5
Affected and Fixed Packages Package Details
Weaknesses (3)
System Score Found at
epss 0.75464 https://api.first.org/data/v1/epss?cve=CVE-2019-6339
epss 0.75464 https://api.first.org/data/v1/epss?cve=CVE-2019-6339
epss 0.75464 https://api.first.org/data/v1/epss?cve=CVE-2019-6339
epss 0.78505 https://api.first.org/data/v1/epss?cve=CVE-2019-6339
epss 0.78505 https://api.first.org/data/v1/epss?cve=CVE-2019-6339
epss 0.78505 https://api.first.org/data/v1/epss?cve=CVE-2019-6339
epss 0.78505 https://api.first.org/data/v1/epss?cve=CVE-2019-6339
epss 0.78505 https://api.first.org/data/v1/epss?cve=CVE-2019-6339
epss 0.78505 https://api.first.org/data/v1/epss?cve=CVE-2019-6339
epss 0.78505 https://api.first.org/data/v1/epss?cve=CVE-2019-6339
epss 0.78505 https://api.first.org/data/v1/epss?cve=CVE-2019-6339
epss 0.78505 https://api.first.org/data/v1/epss?cve=CVE-2019-6339
epss 0.78505 https://api.first.org/data/v1/epss?cve=CVE-2019-6339
epss 0.78505 https://api.first.org/data/v1/epss?cve=CVE-2019-6339
epss 0.78505 https://api.first.org/data/v1/epss?cve=CVE-2019-6339
epss 0.78505 https://api.first.org/data/v1/epss?cve=CVE-2019-6339
cvssv3.1_qr CRITICAL https://github.com/advisories/GHSA-8cw5-rv98-5c46
cvssv3.1 9.8 https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2019-6339.yaml
generic_textual CRITICAL https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2019-6339.yaml
cvssv3.1 9.8 https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2019-6339.yaml
generic_textual CRITICAL https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2019-6339.yaml
cvssv3.1 9.8 https://lists.debian.org/debian-lts-announce/2019/02/msg00004.html
generic_textual CRITICAL https://lists.debian.org/debian-lts-announce/2019/02/msg00004.html
cvssv2 7.5 https://nvd.nist.gov/vuln/detail/CVE-2019-6339
cvssv3 9.8 https://nvd.nist.gov/vuln/detail/CVE-2019-6339
cvssv3.1 9.8 https://nvd.nist.gov/vuln/detail/CVE-2019-6339
generic_textual CRITICAL https://nvd.nist.gov/vuln/detail/CVE-2019-6339
cvssv3.1 9.8 https://www.debian.org/security/2019/dsa-4370
generic_textual CRITICAL https://www.debian.org/security/2019/dsa-4370
cvssv3.1 9.8 https://www.drupal.org/sa-core-2019-002
generic_textual CRITICAL https://www.drupal.org/sa-core-2019-002
No exploits are available.
Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Found at https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2019-6339.yaml
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Found at https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/drupal/CVE-2019-6339.yaml
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Found at https://lists.debian.org/debian-lts-announce/2019/02/msg00004.html
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P Found at https://nvd.nist.gov/vuln/detail/CVE-2019-6339
Exploitability (E) Access Vector (AV) Access Complexity (AC) Authentication (Au) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

high

functional

unproven

proof_of_concept

not_defined

local

adjacent_network

network

high

medium

low

multiple

single

none

none

partial

complete

none

partial

complete

none

partial

complete

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Found at https://nvd.nist.gov/vuln/detail/CVE-2019-6339
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Found at https://nvd.nist.gov/vuln/detail/CVE-2019-6339
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Found at https://www.debian.org/security/2019/dsa-4370
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Found at https://www.drupal.org/sa-core-2019-002
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Exploit Prediction Scoring System (EPSS)
Percentile 0.98847
EPSS Score 0.75464
Published At Aug. 3, 2025, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
2025-07-31T09:01:14.380999+00:00 GithubOSV Importer Import https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-8cw5-rv98-5c46/GHSA-8cw5-rv98-5c46.json 37.0.0