🛡️ CVE-2019-6339 — core

🔴 CVSS 9.5 — Critical ✅ No Known Exploit CWE-20 OSV
9.5
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

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.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.

Weakness class

CVE-2019-6339 is classified as CWE-20: Improper Input Validation. The application accepts input without checking that it has the expected form, so malformed values reach code that assumes they are well formed.

Affected software

CVE-2019-6339 is recorded against 2 packages.

  • drupal/core (from 8.6.0 up to 8.6.6)
  • drupal/drupal (from 8.6.0 up to 8.6.6)

Timeline and source

Published on 6 January 2022 and last revised on 10 December 2025. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

nvd.nist.gov (Advisory)
github.com (Web)
github.com (Web)
lists.debian.org (Web)
www.debian.org (Web)
www.drupal.org (Web)

Details

Severity CRITICAL
CVSS Score 9.5
CVSS Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE CWE-20
Public Exploit ✅ No
Source OSV
Published 2022-01-06
Updated 2026-08-12
Modified 2025-12-10
Fix URL N/A

Affected Packages

Software From version Fixed in
drupal/core 8.6.0 8.6.6
drupal/drupal 8.6.0 8.6.6

Exploit Protection

Are you running core?

CVE-2019-6339 carries CVSS 9.5 Critical rating. BotEraser checks your installation against this and other known CVE records, and blocks IPs associated with exploit activity.

Check My Site For CVE-2019-6339 →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVE