DRUPAL-CORE-2019-002 in drupal/core
Published 16 Jan 2019 · Updated 19 Sept 2026
Affected package
- Affected
- >=8.0.0 <8.5.9 · >=8.6.0 <8.6.6
- Fixed in
- 8.5.9, 8.6.6
composer require drupal/core:^8.6.6Details
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.
Is DRUPAL-CORE-2019-002 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected drupal/core, and gives you the command that fixes it.
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.