Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
🐘
🐘 Packagist
Not in CISA KEV
CRITICAL severity

CVE-2019-6339 — drupal

CRITICAL

CVE-2019-6339 is a critical-severity (CVSS 9.8) Improper Input Validation vulnerability in drupal/drupal. 2 public exploit references exist, so weaponization risk is real. A fix is available for drupal/drupal — see the affected versions and patch details below.

Arbitrary PHP code execution in Drupal

Also known asDRUPAL-CORE-2019-002GHSA-8cw5-rv98-5c46
Published
Updated
Affected
6 pkgs
Patched
6 / 6
Exploits
2 known
Exploitation data as of Oct 11, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
35.6%probability of exploitation in next 30 days
Moderate Risk0.00%
Lower risk than most CVEs98th percentile — riskier than 98% of all scored CVEsHighest risk
20.4%43.2%66.1%88.9%76.1%35.6%Apr 26Aug 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

CVE-2019-6339 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.

Where this sits among everything scored

Of 385,738 CVEs with a current EPSS score, this one falls in the 10–50% band (highlighted). Counts from FIRST.org, log-scaled.

Real-World Exposure

6 pkgs affected
🐘drupal/drupal🐘drupal/drupal🐘drupal/drupal🐘drupal/core🐘drupal/core🐘drupal/core

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.

Description

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.

Affected Packages

6 total 6 fixed
EcosystemPackageVulnerable rangeFix
🐘Packagistdrupal/drupal≥ 7.0.0&&< 7.62.07.62.0composer require drupal/drupal:^7.62.0
🐘Packagistdrupal/drupal≥ 8.0.0&&< 8.5.98.5.9composer require drupal/drupal:^8.5.9
🐘Packagistdrupal/drupal≥ 8.6.0&&< 8.6.68.6.6composer require drupal/drupal:^8.6.6
🐘Packagistdrupal/core≥ 7.0.0&&< 7.62.07.62.0composer require drupal/core:^7.62.0
🐘Packagistdrupal/core≥ 8.0.0&&< 8.5.98.5.9composer require drupal/core:^8.5.9
🐘Packagistdrupal/core≥ 8.6.0&&< 8.6.68.6.6composer require drupal/core:^8.6.6

Affected Products

2 products · 5 configurations
OS
debian linuxdebian
2 versions
8.09.0
Application
drupaldrupal
≥ 8.6.0 && < 8.6.6
range
Exploits & PoCs
2

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for drupal/drupal, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update drupal/drupal to 7.62.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2019-6339 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2019-6339 in your dependencies?

Find it across Packagist, including transitive dependencies.

CVE-2019-6339: drupal RCE — Fixed in 7.62.0