CVE-2020-13670 is a high-severity (CVSS 7.5) CWE-668 vulnerability in drupal/core. A fix is available for drupal/core — see the affected versions and patch details below.
Exposure of Resource to Wrong Sphere in Drupal Core
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2020-13670 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.
Where this sits among everything scored
Of 385,386 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
drupal/core🐘drupal/core🐘drupal/core🐘drupal/drupal🐘drupal/drupal🐘drupal/drupalReal-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
Information Disclosure vulnerability in file module of Drupal Core allows an attacker to gain access to the file metadata of a permanent private file that they do not have access to by guessing the ID of the file. This issue affects: Drupal Core 8.8.x versions prior to 8.8.10; 8.9.x versions prior to 8.9.6; 9.0.x versions prior to 9.0.6.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | drupal/core | ≥ 8.0.0&&< 8.8.10 | 8.8.10composer require drupal/core:^8.8.10 |
| 🐘Packagist | drupal/core | ≥ 8.9.0&&< 8.9.6 | 8.9.6composer require drupal/core:^8.9.6 |
| 🐘Packagist | drupal/core | ≥ 9.0.0&&< 9.0.6 | 9.0.6composer require drupal/core:^9.0.6 |
| 🐘Packagist | drupal/drupal | ≥ 8.0.0&&< 8.8.10 | 8.8.10composer require drupal/drupal:^8.8.10 |
| 🐘Packagist | drupal/drupal | ≥ 8.9.0&&< 8.9.6 | 8.9.6composer require drupal/drupal:^8.9.6 |
| 🐘Packagist | drupal/drupal | ≥ 9.0.0&&< 9.0.6 | 9.0.6composer require drupal/drupal:^9.0.6 |
Affected Products
drupaldrupalDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for drupal/core, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update drupal/core to 8.8.10 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2020-13670 is resolved across your whole dependency graph.
Workarounds
Assume what was exposed is already known: rotate any credential, token or key that the affected component could return, restrict the endpoint to callers that genuinely need it, and strip sensitive fields from responses and error output at the boundary rather than relying on the client not to read them.
Frequently Asked Questions
Is CVE-2020-13670 in your dependencies?
Find it across Packagist, including transitive dependencies.